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:

[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?
Daniel Gibson
31 июля 2013, 14:40
modx.pro
1 683
0

Комментарии: 4

Василий Наумкин
31 июля 2013, 18:59
0
    Daniel Gibson
    31 июля 2013, 19:24
    0
    Adding:

    ,'PAYMENTREQUEST_0_CURRENCYCODE' => $this->config['currency']

    at line 76 of paypal.class.php seems to resolve the issue.
    Daniel Gibson
    31 июля 2013, 23:35
    0
    I'll also be submitting a refined English lexicon in the near future.
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    4