user2004211
user2004211

Reputation: 25

Website Paypal button from Facebook

I have an error that i don't understand or can troubleshoot easily. My website has a shopping page consisting of a form and a Paypal button.

When the shopping page is the accessed from a Facebook link in a browser the button works fine, clicking submit takes you through to the Paypal checkout.

BUT if the same button is clicked from Facebook when accessed from a smart phone, i get redirected to the Paypal login page.

Not a user experience i think that works.

Any suggestions that i can research are welcome at this stage.

Upvotes: 1

Views: 1166

Answers (1)

Helen
Helen

Reputation: 29

I know this is old but I just had the same problem and the answer from user2004211 worked.

I changed <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">

To this: <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">

And it's now working in Facebook and in a proper browser.

Upvotes: 1

Related Questions