PayPal page not responsive

Sangu123
Contributor
Contributor

i Team,

 

As per the documentation, mentioned in https://developer.paypal.com/docs/classic/payflow/integration-guide/#hosted-pages-and-mobile-browser... it says

 

PayPal’s hosted checkout pages are mobile optimized for iPhone, iPod and Android devices. This mobile optimized experience is available for all 3 Layout templates A, B and C. In the case of Layouts A and B, PayPal will auto-detect if the checkout page is being viewed from a supported mobile browser and will redirect to the mobile optimized checkout page.

 

However we have tried all the layout mentioned but still cant get mobile optimized screen. Kindly advise if there is anything we have missed. 

 

Request posted to "https://pilot-payflowlink.paypal.com"

 

<html>
<body onload='document.forms["myForm1"].submit()'>
<form id='myForm1' method='POST' action='https://pilot-payflowlink.paypal.com'>
<input type="hidden" name="SECURETOKEN" value="2TZzOj0Frck2W2Z620uRHBAaq" />
<input type="hidden" name="SECURETOKENID" value="d7f43c6f-e22f-4f53-b312-dfe420a6f11f" />
<input type="hidden" name="template" value="templateB" />
</form>
</body>
</html>

 

PFA, screenshot of Paypal screen on mobile device.

 PayPalScreen.jpg

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Sangu123
Contributor
Contributor

Hi All,

 

Paypal screen became responsive when we passed SecureToken and SecureTokenId as querystring parameters instead of passing those values as form post.

 

That is instead of passing in form post.

 

<html>
<body onload='document.forms["myForm1"].submit()'>
<form id='myForm1' method='POST' action='https://pilot-payflowlink.paypal.com'>
<input type="hidden" name="SECURETOKEN" value="...." />
<input type="hidden" name="SECURETOKENID" value="...." />
</form>
</body>
</html>

 

We passed those values as querystring parameters.

 

https://pilot-payflowlink.paypal.com?SECURETOKENID=....&SECURETOKEN=....

Not very sure why PayPal is handling those differently.

View solution in original post

Login to Me Too
2 REPLIES 2

Sangu123
Contributor
Contributor

Please help us with the issue. 

Login to Me Too
Solved

Sangu123
Contributor
Contributor

Hi All,

 

Paypal screen became responsive when we passed SecureToken and SecureTokenId as querystring parameters instead of passing those values as form post.

 

That is instead of passing in form post.

 

<html>
<body onload='document.forms["myForm1"].submit()'>
<form id='myForm1' method='POST' action='https://pilot-payflowlink.paypal.com'>
<input type="hidden" name="SECURETOKEN" value="...." />
<input type="hidden" name="SECURETOKENID" value="...." />
</form>
</body>
</html>

 

We passed those values as querystring parameters.

 

https://pilot-payflowlink.paypal.com?SECURETOKENID=....&SECURETOKEN=....

Not very sure why PayPal is handling those differently.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.