Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 Mobile phone checkout not working with PayPal Payf
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

FCS-Webmaster
VP-CART New User

Canada
120 Posts

Posted - April 13 2020 :  17:29:32  Show Profile  Visit FCS-Webmaster's Homepage  Reply with Quote
Problem: There has been a security upgrade on Android and iOS devices stops mobile redirect from happening.

I''ve setup a temporary backup link to where mobile redirect would have taken the customer with the text “If you are having issues with our mobile friendly checkout click here. ”

Looking into it according to this web page
https://developer.paypal.com/docs/payflow/integration-guide/configure-hosted-checkout/#use-the-parmlist-parameter
at the Hosted pages and mobile browsers part it makes it sound like I just need to change the iframe from
src="https://payflowlink.paypal.com/?<%=ppmode%><%=tokenstring%>" scrolling="no" frameborder="0" width="490" height="520" ></iframe> to
<iframe id="payflow-link-iframe" sandbox="allow-top-navigation allow-scripts allow-same-origin allow-forms allow-modals" src="https://pilot-payflowlink.paypal.com/?<%=ppmode%><%=tokenstring%>" scrolling="no" frameborder="0" width="490" height="520" ></iframe>


In trying that I get the following error message

Some required information is missing or incorrect. Please correct the fields below and try again.
Error: Token is missing. Please return to the website from where you started your purchase and try again.


Anyone have any suggestions?

support
Administrator

4679 Posts

Posted - April 13 2020 :  21:31:31  Show Profile  Visit support's Homepage  Reply with Quote
Hi there,

We have created a helpdesk ticket for you for this issue. Once the solution has been provided in the ticket we will also post the final fix here as well for anyone else experiencing this.

VPCart Support
Go to Top of Page

support
Administrator

4679 Posts

Posted - August 26 2020 :  20:44:14  Show Profile  Visit support's Homepage  Reply with Quote
Hello,

Please update the file: paypalpflinkgateway.asp as shown below if you are using older version of VPCart 9 and it will resolve the issue. The update is already included in our latest release.

Please add line 34 to line 38 in your paypalpflinkgateway.asp file.

if lcase(tokenstring) = "responnse error" then
htmlwrite "<center>"& resultvalue_pflink &"</center>"
exit sub
end if
-----------------------------------------
Line 34: ''2020.04.30 - Bug Fix: PayFlow Link: Not showing on mobile device
Line 35: if is_on_mobile then
Line 36: %><div><A class="simulatedbtn submitbtn " href="https://payflowlink.paypal.com/?<%=ppmode%><%=tokenstring%>"> <%=getlang("langpaywithcc")%> </a><br /></div><%
Line 37: exit sub
Line 38: end if
---------------------------------------------
%>
<%''702 - 2012.08.01 - PayPal Enhancement%>


After that add the following code at the bottom of the file.
-----------------------------------------------------------------------------
''2020.04.30 - Bug Fix: PayFlow Link: Not showing on mobile device
function is_on_mobile()
Dim Regex, matchfalg
Set Regex = New RegExp
With Regex
.Pattern = "(up.browserup.link|mmp|symbian|smartphone|midp|wap|phone|windows ce|pda|mobile|mini|palm|ipad)"
.IgnoreCase = True
.Global = True
End With
matchfalg = Regex.test(Request.ServerVariables("HTTP_USER_AGENT"))
If matchfalg then
is_on_mobile = True
Else
is_on_mobile = False
End If
end function
---------------------------------------------------------------------

If it does not resolve issue, please post a helpdesk ticket to us at https://helpdesk.vpcart.com/


Thank you,

VPCart Customer Care Team
www.vpcart.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00