Support » Plugin: PayPal Express Checkout for WooCommerce » Found 10525 Error message

  • chin8628

    (@chin8628)


    Hi, I found 10525 error after checkout product by paypal but after error was raised I click on checkout again without edit anything then It’s work.

    After I try checkout until pass. The order list show 2 orders. the first order’s price is zero and the second is expected price.

    07-17-2017 @ 15:48:44 - DoExpressCheckoutPaymentArray
    (
        [TOKEN] => EC-7A167681LK643262U
        [SUCCESSPAGEREDIRECTREQUESTED] => false
        [TIMESTAMP] => 2017-07-17T08:48:44Z
        [CORRELATIONID] => f7796226981a0
        [ACK] => Failure
        [VERSION] => 115
        [BUILD] => 36458220
        [L_ERRORCODE0] => 10525
        [L_SHORTMESSAGE0] => Invalid Data
        [L_LONGMESSAGE0] => This transaction cannot be processed. The amount to be charged is zero.
        [L_SEVERITYCODE0] => Error
    )
Viewing 1 replies (of 1 total)
  • Hi,

    I had same problem with this plugin and I have fixed it by adding bellow code at the beginning of the function ex_set_express_checkout() in the file includes/class-express-checkout-api-request.php.

    if (!defined(‘WOOCOMMERCE_CART’)) {
    define(‘WOOCOMMERCE_CART’, true);
    }

    Hope it will help.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.