To get mobile version of payflowlink

Sangamesh1
Contributor
Contributor

Hi All,

 

We have integrated pay-pal as the payment provider in our application which runs on mobile browser. When user clicks on pay now option within our application, we redirect him to "https://pilot-payflowlink.paypal.com" link to capture credit card information, once done user would be redirected back to our application for confirmation. The earlier mentioned link that opens up on click of pay now is not mobile friendly. Could you please advise if there is a different URL that needs to be used in case of mobile browser or if any other additional parameters needs to be passed while redirecting to pay-pal page or is it the limitation of account that is being used. 

 

As of now i do have a PalPal payment pro account. 

 

Please advise.

Login to Me Too
8 REPLIES 8

MTS_Justin
Moderator
Moderator
Hello,

Review the documentation on configuring your account for Payflow Link, specifically the section on which "template layout" to use.

https://developer.paypal.com/docs/classic/payflow/test_hosted_pages/#customize-a-hosted-checkout-pag...

Please also review page 7 from the following document, which references page templates and which one to use for mobile devices (Recommended : template a or b)

https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/paypal_payments_advanced_configurat...


Was my post helpful? If so, please give me a kudos!
Login to Me Too

Sangamesh1
Contributor
Contributor

Hi Team,

 

Thank you for the response, we have gone through the documents you shared and tried out accordingly. Still we see normal view for paypal. PFA, screenshot of paypal screen on mobile and request send to payflowpro and payflowlink. Kindly advise. 

As mentioned we tried passing templete value in api call as well as form post and various combinations of templete value too linke "templateA/templateB/Mobile" etc. With none we could get mobile friendly screen from paypal. 

 

Request sent to generate Secure token to https://pilot-payflowpro.paypal.com

 

"TENDER=C&TRXTYPE=S&AMT=100.00&CURRENCY=USD&FIRSTNAME=d&LASTNAME=d&NAME=d d&EMAIL=&STREET=d&CITY=d&STATE=&ZIP=12121&COUNTRY=US&INVNUM=d08e7513-e4a8-4395-a43c-4d4b857ed505&ORDERDESC=order description&VERBOSITY=HIGH&RETURNURL=http://localhost/eBizMasterBS/login.aspx&CANCELURL=http://localhost/eBizMasterBS/Cart/Index.aspx&ERRORURL=http://localhost/eBizMasterBS/login.aspx&COMMENT1=5014652-5014137-Web User&COMMENT2=3100-0002384&USER1=1&USER2=n2efv0j5qxric1zf42postcc&USER3=CART&USER4=3100-020918-0-1&CREATESECURETOKEN=Y&SECURETOKENID=7b09a594-130d-41c5-ae80-9388d8e94a1e&TEMPLATE=templateA"

 

Request sent to paypallink to capture payment details. 

 

<html>
<body onload='document.forms["myForm1"].submit()'>
<form id='myForm1' method='POST' action='https://pilot-payflowlink.paypal.com'>
<input type="hidden" name="SECURETOKEN" value="5DbZTw6zwi0in0pfGSJawOw6m" /><input type="hidden" name="SECURETOKENID" value="7b09a594-130d-41c5-ae80-9388d8e94a1e" /><input type="hidden" name="TEMPLATE" value="templateA" />
</form>
</body>
</html>

 

Screenshot of paypal screen on mobile browser. In the below payment page all the contents within the page are quite small, and it is difficult to enter values into it without zooming in. Hence request you to suggest if anything could be done with the request being sent so as to get a better view of payment screen on mobile browser. 

 

One more thing which i want to bring to the notice is we do have a paypal payments pro account. 

 

PaypalMobileScreen.jpg

 

Login to Me Too

MTS_Justin
Moderator
Moderator
If you have a mobile optimized experience, explicitly
pass template=mobile to show the mobile optimized page

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Sangamesh1
Contributor
Contributor

Hi Team,

 

I have tried that option too, sending Template value of "Mobile", even then we got non responsive payment screen as shared earlier. PFB, request sent to payflowpro and payflowlink.

 

"TENDER=C&TRXTYPE=S&AMT=100.00&CURRENCY=USD&FIRSTNAME=d&LASTNAME=d&NAME=d d&EMAIL=&STREET=d&CITY=d&STATE=&ZIP=12312&COUNTRY=US&INVNUM=ef56d020-b978-4771-924a-9ec1918cbb61&ORDERDESC=order description&VERBOSITY=HIGH&RETURNURL=http://localhost/eBizMasterBS/login.aspx&CANCELURL=http://localhost/eBizMasterBS/Cart/Index.aspx&ERR... User&COMMENT2=3100-0002398&USER1=1&USER2=flwbp0rhaf1l2mhdek4jnc0t&USER3=CART&USER4=3100-021318-0-1&CREATESECURETOKEN=Y&SECURETOKENID=e05149d2-ac6f-4c46-b159-affd62b00792&TEMPLATE=mobile"


<html>
<body onload='document.forms["myForm1"].submit()'>
<form id='myForm1' method='POST' action='https://pilot-payflowlink.paypal.com'>
<input type="hidden" name="SECURETOKEN" value="47Bbh7RxPkU6zqaiLp3n5nQN3" /><input type="hidden" name="SECURETOKENID" value="e05149d2-ac6f-4c46-b159-affd62b00792" /><input type="hidden" name="TEMPLATE" value="mobile" />
</form>
</body>
</html>

Login to Me Too

Sangamesh1
Contributor
Contributor

Any suggestions ? Please advise. ?? We are blocked by this issue since long. 😞

Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

I can't reproduce your issue - When I created a Payflow Link request and open it within a mobile device (iPhone), I'm seeing the mobile optimized version of the page.

Please submit a support ticket @ https://www.paypal.com/mts with all the relevant details and we can review in more detail.

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Sangamesh1
Contributor
Contributor

Sure, will do it. Thank you.

 

Is it due to any account privilege ? or will all users by default have the privilege to get mobile optimized screen. ??

Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

It's not account privilege related, all users will be shown the mobile optimized version if you pass the "mobile" template variable and the page is opened on a mobile device.

Was my post helpful? If so, please give me a kudos!
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.