Fix: Bad currency
This commit is contained in:
parent
b5c424d6b1
commit
9ad4f06e29
@ -171,8 +171,8 @@ if (GETPOST("action") == 'dopayment')
|
||||
|
||||
// Other
|
||||
$PAYPAL_API_DEVISE="EUR";
|
||||
if ($CURRENCY == 'EUR') $PAYPAL_API_DEVISE="EUR";
|
||||
if ($CURRENCY == 'USD') $PAYPAL_API_DEVISE="USD";
|
||||
if ($currency == 'EUR') $PAYPAL_API_DEVISE="EUR";
|
||||
if ($currency == 'USD') $PAYPAL_API_DEVISE="USD";
|
||||
|
||||
dol_syslog("Submit Paypal form", LOG_DEBUG);
|
||||
dol_syslog("PAYPAL_API_USER: $PAYPAL_API_USER", LOG_DEBUG);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user