WebSite X5Help Center

 
Randall L.
Randall L.
User

Paypal HTML Codes  en

Autor: Randall L.
Visitado 2130, Seguidores 1, Compartilhado 0  

I can not get my Paypal HTML codes to link to the product on when you click on the Add to cart. It links to the main Paypal sign up page. please help

Publicado em
5 RESPOSTAS
Paul M.
Paul M.
Moderator

Hello Randall,

Can you post the code you are using here?

Many thanks,

Paul

Ler mais
Publicado em de Paul M.
Randall L.
Randall L.
User
Autor

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="E5V9VV9ZRG4WQ">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Ler mais
Publicado em de Randall L.
Paul M.
Paul M.
Moderator

Thanks for the code, Randall.

I tested it in an HTML Code Object and it appeared to work correctly (please see the screenshot attached)

Have I misunderstood your query?  Apologies if that is the case.

Ler mais
Publicado em de Paul M.
Randall L.
Randall L.
User
Autor

No That is how it should appear. I am currently rebuilding my website in Evolution 12.

The code works on my current website which was created with X5 Evolution 8, but when I test it in Evolution 12 the preview does show this attachment, it takes you to PayPals main sign in page.

Do I need to export the project first before it will work in the preview?

Thanks,

Randy

Ler mais
Publicado em de Randall L.
Paul M.
Paul M.
Moderator
Randall L.
Do I need to export the project first before it will work in the preview?

Yes, that's correct, Randy...  version 8 used a different preview browser to version 12, but rest assured that once exported to your server the code will work as intended.

Ler mais
Publicado em de Paul M.