PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 25 → Paypal Generated Button Does not Click and go to PayPal
Paypal Generated Button Does not Click and go to PayPal
Iniciado por Tony Turner, dez., 13 2016 4:19 AM - 5 respostas
Publicado em dezembro, 13 2016 - 4:19 AM
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
Publicado em dezembro, 13 2016 - 10:46 AM
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>
Publicado em dezembro, 13 2016 - 3:44 PM
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>
Publicado em agosto, 26 2020 - 3:45 PM
Hi Tony, I have the same problem. Have you managed to solve it ?
Thank you
Leonardo
Membro registado
5 mensagems
Publicado em setembro, 02 2020 - 1:10 AM
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
Publicado em setembro, 15 2020 - 3:23 AM
Thanks !!!