WebSite X5Help Center

 
Randall L.
Randall L.
User

Paypal HTML Codes  en

Autor: Randall L.
Visited 2381, Followers 1, Udostępniony 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

Posted on the
5 ODPOWIEDZI
Paul M.
Paul M.
Moderator

Hello Randall,

Can you post the code you are using here?

Many thanks,

Paul

Czytaj więcej
Posted on the from 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>

Czytaj więcej
Posted on the from 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.

Czytaj więcej
Posted on the from 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

Czytaj więcej
Posted on the from 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.

Czytaj więcej
Posted on the from Paul M.