-
Notifications
You must be signed in to change notification settings - Fork 45
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
This transaction is invalid. Please return to the recipient's website and try again. #31
Comments
Hey, is this the problem you are having? |
I have commented this inquiry in #32 but with :notify_url does not work for me. Can you provide a guideline with a correct request for preapproved payment in readme?. Thank you very much! |
The problem is the method redirect_url_for for preapproved payment. The method correct is redirect_pre_approval_url_for in https://github.com/jpablobr/active_paypal_adaptive_payment/blob/master/lib/active_merchant/billing/gateways/paypal_adaptive_payment_common.rb#L26. Please can add these methods to the documentation? thanks! |
Thank you Pablo! Regards! |
setup_purchase method does works fine for me with my data api, but preapprove_payment method does not works.
This is my controller:
I get in log:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: