/ Published in: ActionScript
code to implement a paypal button in flash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ppbutton.onRelease=function(){ cmd = "_xclick"; business = "[email protected]"; item_name = "some item nameg"; item_number = "000001"; no_shipping = "2"; shipping = postage.text.substr(0, -3); amount = curTotal.text.substr(0, -3); Return = "http://www.somedomain.net/thankyou.html"; cancel_return = "http://www.somedomain.net/cancel.html"; no_note = "1"; currency_code = _parent.theCur; getURL("https://www.paypal.com/cgi-bin/webscr", "_blank", "POST"); }