…sorry for the duplicate post, thought this needs to be in a more up to date forum than ‘Flash 8 and older’
It looks like Paypal has just changed their buy now code so my sites using the old Paypal button code are no longer working…
Have been using this code
on (release) {
//create the LoadVars that will hold our paypal information
var paypal = new LoadVars();
//specify the business, amount of the item, shipping, etc.
paypal.cmd="_xclick";
paypal.upload="1";
paypal.business="info@website.com";
paypal.currency_code="GBP";
paypal.amount="1500.00";
paypal.handling = "0";
//paypal.no_shipping = "0";
paypal.item_name="Product 1";
//added
paypal.lc="GB";
paypal.bn="PP-BuyNowBF";
paypal.no_note="1";
//send our information to PayPal, including all the optional variables we have collected from customer
paypal.send("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
}
but that no longer works, you just get this error from Paypal:
“You have requested an outdated version of PayPal. This error often results from the use of bookmarks.”
Does anyone have the new code to use in Flash (AS2)?