PayPal merchant website redirection doesn't work anymore
cyrilfr
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-17-2018
02:51 AM
Hi,
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, I didn't try the live version.
Labels:
- Labels:
-
PayPal Buttons
1 REPLY 1
cyrilfr
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct-25-2018
11:00 AM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- PPP Paypal/WebBank Loan #-Cannot find in Merchant Products and Services Archives
- Payment for good and services in Managing Risk and Fraud Archives
- WOWCAMERA in Reporting Archives
- Crazy Reserve imposed on our account in Managing Risk and Fraud Archives
- Paypal External Partner Flow(Merchant Boarding) is not redirecting to correct screen in Merchant Products and Services Archives