-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paypal payments not working - INVALID_EXPERIENCE_PROFILE_ID #393
Comments
hi @cougil , actually you found a bug :). For performance reason I've cached the profile id (see https://github.com/alfio-event/alf.io/blob/master/src/main/java/alfio/manager/PaypalManager.java#L59 ). But I've not taken in account the change of the client id for a given event/locale pair (as the key of the map is generated using https://github.com/alfio-event/alf.io/blob/master/src/main/java/alfio/manager/PaypalManager.java#L72 ) . As a simple workaround, you can restart the instance so the cache is empty. TODO:
|
Done, thank for your super fast reply! |
@cougil I'll reopen the issue so I can track my commit with it:) |
should be fixed now, @cougil thanks for finding the bug 👍 |
Hi.
We've found a new issue with Paypal. We have just updated the real client ID and client secret (only in the system configuration, we didn't setup anything in any other place) and we found that now it is not possible to pay with Paypal (even we checked that everything was working perfectly in the "demo mode" with the Paypal demo user/pwd).
This is what we are seeing in the log:
ERROR com.paypal.base.HttpConnection - Response code: 400 Error response: {"name":"INVALID_EXPERIENCE_PROFILE_ID","message":"The requested experience profile ID was not found","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"XXXXXX"
What we are doing wrong? What we can do?
Best,
The text was updated successfully, but these errors were encountered: