PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Paypal Generated Button Does not Click and go to PayPal
Paypal Generated Button Does not Click and go to PayPal
Débuté par Tony Turner, 13 déc. 2016 04:19 - 5 réponses
Posté le 13 décembre 2016 - 04:19
Hi

If i login to Paypal and generate a button, where ever I put that form code i.e paste it into an HTML control, or any other the Paypal button displays but doesn't click and and go to Paypal login?

Has anyone got a Paypal generated button to work? they work fine on a simple HTML file but not pasted into HTML on any Webdev control.

Thanks

Tony Turner
Posté le 13 décembre 2016 - 10:46
So where ever I paste this it is non clickable

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KAE8FTBV5CH6E">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
Posté le 13 décembre 2016 - 15:44
Hi Tony

The webdev page is alreay a form, and it's not possible to have a form
inside a form in html.

So you need to MODIFY the html code to keep only the code relating to
the button, -OR- you can create a static html page with this code in it,
and display it in a small iframe on your page

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 12/13/2016 à 4:46 AM, Tony Turner a écrit :
So where ever I paste this it is non clickable

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"
target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KAE8FTBV5CH6E">
<input type="image"
src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynow_SM.gif"
border="0" name="submit" alt="PayPal – The safer, easier way to pay
online!">
<img alt="" border="0"
src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1"
height="1">
</form>
Posté le 26 août 2020 - 15:45
Hi Tony, I have the same problem. Have you managed to solve it ?
Thank you
Leonardo
Membre enregistré
10 messages
Popularité : +1 (1 vote)
Posté le 02 septembre 2020 - 01:10
That will not work with paypal any more - they do not allow new integrations like that

You can use the smart buttons js or the paypal smart control in WB25
Posté le 15 septembre 2020 - 03:23
Thanks !!!