Posted By

stiobhart on 06/07/09


Tagged

actionscript flash button PayPal


Versions (?)

actionscript - paypal button in flash


 / Published in: ActionScript
 

code to implement a paypal button in flash

  1. ppbutton.onRelease=function(){
  2. cmd = "_xclick";
  3. business = "[email protected]";
  4. item_name = "some item nameg";
  5. item_number = "000001";
  6. no_shipping = "2";
  7. shipping = postage.text.substr(0, -3);
  8. amount = curTotal.text.substr(0, -3);
  9. Return = "http://www.somedomain.net/thankyou.html";
  10. cancel_return = "http://www.somedomain.net/cancel.html";
  11. no_note = "1";
  12. currency_code = _parent.theCur;
  13. getURL("https://www.paypal.com/cgi-bin/webscr", "_blank", "POST");
  14. }

Report this snippet  

You need to login to post a comment.