PAYPAL_AddToShoppingCart_button

HI EVERYONE
I’M TRYING TO PRODUCE AN “ADD TO SHOPPING CART” BUTTON FOR PAYPAL
THE HTML CODE BUTTON SEEMINGLY WORKS WELL:

<form target=“paypal” action=“https://www.paypal.com/cgi-bin/webscr” method=“post”>
<input type=“image” src=“addToCart.png” border=“0” name=“submit” alt=“Make payments with PayPal - it’s fast, free and secure!”>
<img alt="" border=“0” src=“https://www.paypal.com/en_US/i/scr/pixel.gif” width=“1” height=“1”>
<input type=“hidden” name=“add” value=“1”>
<input type=“hidden” name=“cmd” value="_cart">
<input type=“hidden” name=“business” value="tgiunipero@yahoo.com">
<input type=“hidden” name=“item_name” value=“Master Theodoricus”>
<input type=“hidden” name=“item_number” value=“01”>
<input type=“hidden” name=“amount” value=“0.50”>
<input type=“hidden” name=“no_note” value=“1”>
<input type=“hidden” name=“currency_code” value=“EUR”>
<input type=“hidden” name=“bn” value=“PP-ShopCartBF”>
</form>

… BUT MY FLASH BUTTON DOES NOT DO THE THING
IS THERE ANYTHING WRONG IN HERE? PLEASE GIVE ME A HINT
OR SOME ACTUALLY WORKING CODE… THANX A LOT!!!

PayPal_btn.onRelease = function () {
formData = new LoadVars ();
formData.bn = “PP-ShopCartBF”;
formData.currency_code = “EUR”;
formData.no_note = “1”;
formData.amount = “50000.00”;
formData.item_number = “02”;
formData.item_name = “Master X”;
formData.business = "tgiunipero@yahoo.com";
formData.cmd = “_cart”;
formData[“add”] = “1”;
formData.send (“https://www.paypal.com/cgi-bin/webscr”, “_self”, “POST”);
trace (formData);
};

I AM SURPRISED THAT THERE IS NO FLASH SUPPORT ON THE PAYPAL WEBSITE ???

Are you able to move to a new page or stuck to the same old “add to cart” page when clicking the button?

yea it opens the paypal homepage
but not the my cart

Don’t crosspost, I’ve deleted your thread in the AS forum :cop:

scotty(-: