Merchant website redirection doesn't work anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I added a PayPal button with those parameters:
<form action="@paypal.getUrl()" method="post" target="_top" id="paypal-form"> <input type="hidden" name="hosted_button_id" value="@paypal.getButtonId()"> <input type="hidden" name="custom" value="@token"> <input type="hidden" name="invoice" value="@paypal.generateTransactionId(user)"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="charset" value="UTF-8"> <input type="hidden" name="currency_code" value="CHF"> <input type="hidden" name="lc" value="@lang().language()_@lang().code().toUpperCase()"> <input type="hidden" name="image_url" value='@routes.Assets.versioned("images/icons/red-logo-white.png").absoluteURL()'> <input type="hidden" name="solution_type" value="Mark"> <input type="hidden" name="landing_page" value="Login"> <input type="hidden" name="return" value='@routes.UserController.returnMessage("paypal-success").absoluteURL()'> <input type="hidden" name="cancel_return" value='@routes.UserController.returnMessage("paypal-cancel").absoluteURL()'> @if(user.getFirstName() != null) { <input type="hidden" name="first_name" value="@user.getFirstName()"> } <input type="hidden" name="last_name" value="@user.getLastName()"> @if(user.getEmail() != null) { <input type="hidden" name="email" value="@user.getEmail()"> } <input type="hidden" name="on0" value="Credit"> <input type="hidden" name="os0" value="20.00"> </form>
I enabled IPN and auto return to merchant website in my preferences.
Unfortunately, after 10 seconds, the user doesn't get redirected on my website. He gets stuck on the message that tell him to go back to the merchant website. If the user click on the link before 10 seconds, he gets redirected to the same message.
It used to work before. It happens on the sandbox version as well.
Any idea how to fix this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems that this issue has been partially fixed. Now I get redirected after the payment but only to the default Auto Return URI set in my business account. I should get redirected to the URI set in the "return" hidden input field like it was before...
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Customers are suddenly not redirected to Paypal anymore. Cryptic Error-Code that doesn't help. in PayPal Payments Standard
- The Merchant requires your billing address to complete this payment issue #express checkout in PayPal Payments Standard
- PayPal Sandbox Not Working Anymore in Sandbox Environment
- Unable to Make Payments for a Merchant in PayPal Payments Standard
- IPN Notifications going to wrong (old) URL in Sandbox Environment