Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Paypal error: "Sorry - your action could not be completed" #135

Open
jackkinsella opened this issue Mar 20, 2013 · 1 comment
Open

Paypal error: "Sorry - your action could not be completed" #135

jackkinsella opened this issue Mar 20, 2013 · 1 comment

Comments

@jackkinsella
Copy link

If anyone's Spree website suddenly stopped accepting Paypal payments today and after redirection to Paypal they saw the error in this issue's title then this failure is due to a bug on Paypal's end. I've talked to their technical support and they've filed a ticket. For now the (tested) hot fix is the following:

Spree::CheckoutController.class_eval do
  # "en_US" supposedly works too
  def user_locale
      "GB"
  end
end
@dashdotat
Copy link

Yep, bitten with the same thing - user_locale is currently returning "en" (which is incorrect) and should be "GB" for the UK - I think a patch to allow setting locale for PayPal in the configuration is needed (if I get a chance I'll try and get a pull-request for this at some point)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants