PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 22 → 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 - 2 réponses
//hostimage.webdev.info/avatars/default.gif
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
//hostimage.webdev.info/avatars/default.gif
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>
//hostimage.webdev.info/avatars/default.gif
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>