• Resolved yaginuk

    (@yaginuk)


    Hi,
    im using woocommerce through a wordpress site (latest version), we are using paypal standard and paypal credit card (rest).
    I have enabled sandbox mode and are using sandbox credentials from paypal developer site.
    so, my problem – we can make sandbox payment for normal paypal and it works a dream, but when we go to make a payment with paypal user with a generated credit card i get an error message in the checkou which states “Error processing checkout. Please try again.”
    I am checking woocommerce logs, i can see 4 log entries, the last one seems to get response status = 400, then next line we get a “DEBUG : Response Headers : HTTP/1.1 400 Bad Request, Date: Wed, 04 Oct 2017 10:19:56 GMT,”
    PayPal\Core\PayPalHttpConnection: ERROR : Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. {“name”:”VALIDATION_ERROR”,”details”:[{“field”:”transactions[0].soft_descriptor”,”issue”:”String must contain only a-z, A-Z, 0-9, punctuation(.*-), and embedded spaces.”},{“field”:”transactions[0].soft_descriptor”,”issue”:””}],”message”:”Invalid request. See details.”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”913cd0041eb7d”}
    [04-10-2017 10:19:56] PayPal\Core\PayPalHttpConnection: DEBUG :

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    It sounds like there’s something in the strings being sent to PayPal that aren’t working correctly – possibly the product description.

    Are you trying to check out with the same products on the sandbox as on the live site?

    • This reply was modified 7 years, 5 months ago by Hannah S.L.. Reason: tags
    Thread Starter yaginuk

    (@yaginuk)

    We have added products to the site. We can use paypal normal to pay for items for people with paypal accounts, this is still in sandbox mode and worked perfectly fine.
    Its when i try and use Paypal (Rest) that this happens.
    Just verified that both forms of payment are in sandbox mode, paypal & PayPal Credit Card (REST).

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Sorry for the delay in getting back to you!

    When you say “Paypal (REST)” what do you mean?

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘paypal credit card (rest) error processing checkout’ is closed to new replies.