Return to Snippet

Revision: 14576
at June 7, 2009 10:34 by stiobhart


Initial Code
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"); 
}

Initial URL


Initial Description
code to implement a paypal button in flash

Initial Title
actionscript - paypal button in flash

Initial Tags
actionscript, flash, button

Initial Language
ActionScript