Skip to content

No Handling for PayPal funding error 10486 #179

Description

@mleglise

When a user finishes on PayPal, and clicks "Pay Now" to redirect them back to Spree, then spree/gateway/pay_pal_express.rb calls do_express_checkout_payment and then pp_response.success?

If the user does not have enough money in their funding source to pay for the order, PayPal returns error 10486. The user is supposed to be redirected back to PayPal to resolve the issue with funding their purchase. Currently, the user gets dumped to the Spree store's homepage and left with no indication of anything working or failing. Their order is left in the "payment" state with a failed PayPal transaction.

https://developer.paypal.com/docs/classic/express-checkout/ht_ec_fundingfailure10486/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions