actionscript - paypal button in flash


/ Published in: ActionScript
Save to your folder(s)

code to implement a paypal button in flash


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.