myskif
@myskif
Верстальщик

Как решить проблему при оплате paypal?

Настроил minishop2 и оплату PayPal, тут всё ок, после установил плагин dcDiscounts и сделал скидку - теперь ошибка "The totals of the cart item amounts do not match order amounts"

[2021-04-07 06:01:12] (ERROR @ /home/u212443042/domains/maisondentremets.com/public_html/core/components/minishop2/custom/payment/paypal.class.php : 84) [miniShop2] Payment error while request. Request: Array
(
    [METHOD] => SetExpressCheckout
    [PAYMENTREQUEST_0_CURRENCYCODE] => GBP
    [PAYMENTREQUEST_0_ITEMAMT] => 37.34
    [PAYMENTREQUEST_0_SHIPPINGAMT] => 0
    [PAYMENTREQUEST_0_AMT] => 37.34
    [RETURNURL] => https://maisondentremets.com/assets/components/minishop2/payment/paypal.php?action=success
    [CANCELURL] => https://maisondentremets.com/assets/components/minishop2/payment/paypal.php?action=cancel
    [PAYMENTREQUEST_0_INVNUM] => 41
    [L_PAYMENTREQUEST_0_NAME0] => Avocado Guacamole
    [L_PAYMENTREQUEST_0_AMT0] => 4.96
    [L_PAYMENTREQUEST_0_QTY0] => 1
    [L_PAYMENTREQUEST_0_NAME1] => Marscarpone Cheese Spread
    [L_PAYMENTREQUEST_0_AMT1] => 8
    [L_PAYMENTREQUEST_0_QTY1] => 1
    [L_PAYMENTREQUEST_0_NAME2] => Peanut Cream
    [L_PAYMENTREQUEST_0_AMT2] => 4.19
    [L_PAYMENTREQUEST_0_QTY2] => 1
    [L_PAYMENTREQUEST_0_NAME3] => Smoked Salmon pâté
    [L_PAYMENTREQUEST_0_AMT3] => 5.21
    [L_PAYMENTREQUEST_0_QTY3] => 1
    [L_PAYMENTREQUEST_0_NAME4] => Sourdough Baguettes
    [L_PAYMENTREQUEST_0_AMT4] => 2.99
    [L_PAYMENTREQUEST_0_QTY4] => 1
    [L_PAYMENTREQUEST_0_NAME5] => Chicken Liver Pâté
    [L_PAYMENTREQUEST_0_AMT5] => 4.45
    [L_PAYMENTREQUEST_0_QTY5] => 1
    [L_PAYMENTREQUEST_0_NAME6] => Ricotta Cheese Mousse
    [L_PAYMENTREQUEST_0_AMT6] => 3.99
    [L_PAYMENTREQUEST_0_QTY6] => 1
    [L_PAYMENTREQUEST_0_NAME7] => Duck liver pâté
    [L_PAYMENTREQUEST_0_AMT7] => 5.51
    [L_PAYMENTREQUEST_0_QTY7] => 1
)
, response: Array
(
    [TIMESTAMP] => 2021-04-07T06:01:12Z
    [CORRELATIONID] => 8bf76d88da2b0
    [ACK] => Failure
    [VERSION] => 74.0
    [BUILD] => 55475691
    [L_ERRORCODE0] => 10413
    [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
    [L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.
    [L_SEVERITYCODE0] => Error
)


Кто-нибудь знает как исправить?
  • Вопрос задан
  • 49 просмотров
Пригласить эксперта
Ответы на вопрос 1
@bochkarev
Вот решение вашего вопроса: PR
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы