-
Sent variables? PayPal
We're in the process of making an online paypal store....it works fine from our html site but how can we incorporate this into the flash site. I'm thinking something like sent variables? This is the code in html:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="citrucide@yahoo.com">
<input type="hidden" name="item_name" value="Largo Divine">
<input type="hidden" name="amount" value="12.00">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="add" value="1">
</form>
ok so I just saw that the html is getting converted into the actual link......Hmmmmm. Any suggestions?
Thanks for any help...
Mik
Where is Ralph Machio these days...?
-
Re: Sent variables? PayPal
code: _btn.onRelease = function() {\
var _lv = new LoadVars();
_lv.cmd = "_cart";
_lv.business = "citrucide@yahoo.com";
_lv.item_name = "Largo Divine";
_lv.amount = "12.00";
_lv.no_note = "1";
_lv.currency_code = "USD";
_lv.lc = "US";
_lv.add = "1";
_lv.send("https://www.paypal.com/cgi-bin/webscr", "amazon", "POST");
}
-
Thanks a lot...how ever???
This almost worked exept for that the variable called "add" wont work cause flash thinks it's an operator or something??? Is there any way to get around that? This is the current code:
on (release) {
var _lv = new LoadVars();
_lv.cmd = "_cart";
_lv.business = "citrucide@yahoo.com";
_lv.item_name = "Largo Divine";
_lv.amount = "12.00";
_lv.no_note = "1";
_lv.currency_code = "USD";
_lv.lc = "US";
_lv.add = "1";
_lv.send("https://www.paypal.com/cgi-bin/webscr", "amazon", "POST");
}
Thanks again!!!
Where is Ralph Machio these days...?
-
code: /*
*/
_lv["add"] = "1";
/*
*/
-
You are God.
Thank you so much it all works now......you rule.
Mik
Where is Ralph Machio these days...?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|