Popravek paypal urlja za potrditev placila
This commit is contained in:
parent
0ccbbabee0
commit
3da67abfdd
@ -168,7 +168,7 @@ class UserNarocilaPaypal{
|
||||
// Dobimo link za preusmeritev stranke, da potrdi narocilo in potem lahko izvedemo "capture"
|
||||
foreach($paypal_response->result->links as $link){
|
||||
|
||||
if($link->rel == 'capture')
|
||||
if($link->rel == 'approve')
|
||||
$response['paypal_link'] = $link->href;
|
||||
}
|
||||
}
|
||||
|
@ -9286,16 +9286,16 @@ UPDATE misc SET value='20.08.10' WHERE what="version";
|
||||
|
||||
## Tabela placil preko paypala
|
||||
CREATE TABLE user_access_paypal_transaction(
|
||||
id int(11) NOT NULL auto_increment,
|
||||
transaction_id int(11) NOT NULL DEFAULT 0,
|
||||
narocilo_id int(11) NOT NULL DEFAULT 0,
|
||||
price DECIMAL(7,2) NOT NULL DEFAULT '0',
|
||||
currency_type VARCHAR(100) NOT NULL DEFAULT '',
|
||||
time DATETIME(3) NOT NULL,
|
||||
status VARCHAR(30) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY (transaction_id),
|
||||
UNIQUE KEY (narocilo_id)
|
||||
id int(11) NOT NULL auto_increment,
|
||||
transaction_id int(11) NOT NULL DEFAULT 0,
|
||||
narocilo_id int(11) NOT NULL DEFAULT 0,
|
||||
price DECIMAL(7,2) NOT NULL DEFAULT '0',
|
||||
currency_type VARCHAR(100) NOT NULL DEFAULT '',
|
||||
time DATETIME(3) NOT NULL,
|
||||
status VARCHAR(30) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY (transaction_id),
|
||||
UNIQUE KEY (narocilo_id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
UPDATE misc SET value='20.09.07' WHERE what="version";
|
||||
|
Loading…
x
Reference in New Issue
Block a user