开发者

How to make a .swf object link to paypal the same way as paypal buttons do?

开发者 https://www.devze.com 2023-03-23 17:13 出处:网络
Paypal buttons use forms, ie: <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">

Paypal buttons use forms, ie:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" va开发者_运维问答lue="_s-xclick">
<input type="hidden" name="hosted_button_id" value="xxxxxxxx">
<input type="image" src="img.jpg" border="0" name="submit" >
</form>

I'd like buyers to click on a .swf file (instead of an image) which brings them to paypal's checkout, what's the best way to accomplish this?

Thanks


check this tutorial, might help:

http://active.tutsplus.com/tutorials/tools-tips/quick-guide-creating-paypal-buttons-with-actionscript-30/

0

精彩评论

暂无评论...
验证码 换一张
取 消