Minishop2 PayPal non-USB currency
I cannot get the PayPal checkout to work with any other currency except USD.
I have changed the ms2_payment_paypal_currency setting to a valid code as specified in but the checkout fails to complete correct and produces the following error in MODX log:
Non USD does display in the initial PayPal checkout page correctly but completing the transaction fails.
Any ideas?
I have changed the ms2_payment_paypal_currency setting to a valid code as specified in but the checkout fails to complete correct and produces the following error in MODX log:
[2013-07-31 15:29:23] (ERROR @ /assets/components/minishop2/payment/paypal.php) [miniShop2] Could not finalize operation: Request: Array
(
[METHOD] => DoExpressCheckoutPayment
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_AMT] => 810.00
[PAYERID] => YJGUANUHP5CKL
[TOKEN] => EC-0C898040TH613215L
)
, response: Array
(
[TIMESTAMP] => 2013-07-31T14:29:23Z
[CORRELATIONID] => d35f4a37e782a
[ACK] => Failure
[VERSION] => 74.0
[BUILD] => 7131708
[L_ERRORCODE0] => 10444
[L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE0] => The transaction currency specified must be the same as previously specified.
[L_SEVERITYCODE0] => Error
)
Non USD does display in the initial PayPal checkout page correctly but completing the transaction fails.
Any ideas?
Комментарии: 4
Yep, open new issue.
Adding:
,'PAYMENTREQUEST_0_CURRENCYCODE' => $this->config['currency']
at line 76 of paypal.class.php seems to resolve the issue.
,'PAYMENTREQUEST_0_CURRENCYCODE' => $this->config['currency']
at line 76 of paypal.class.php seems to resolve the issue.
I'll also be submitting a refined English lexicon in the near future.
It will be very good.
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.