-
paypal
hi,
Does anyone know how, in as3, i can allow a client to press a button to pay for a file with paypal and when they've finished redirect them the the download page (a url).
I know i could do it from a html site but i want the buy now button to be in my flash site.
can anyone help??
thanx in advance!
MrSmither
-
Flashmatics
you ca check out my paypal cart in my library (its in as2 though) but it shouldn't be too tricky to re-code it for as3
-
thanx alot!
I can't find the url that the client is redirected to affter payment...
Can you help?
oh and nice site by the way!
Last edited by MrSmither; 03-10-2010 at 04:58 PM.
-
-
<input type="hidden" name="notify_url" value="http://www.example.com/thankyou.html" />
Do you mean that field?
He took daddy's umbrella!
-
thanx!
so if i'm reading that rite that's html... so the variable that tels paypal where to goto affter payment is "notifie_url" but when I do a simple buy now btn in as3 with paypal i send a lode of variables to the paypal site so if i say, in the list of variables that I send
Actionscript Code:
notify_url="http://www.exaple.com/thanx/"
will the client be sent to that url affter payment?
-
-
Hi all,
slight hijack...
My paypal button has worked for a year but suddenly gives an error on the paypal site like this:
"You have requested an outdated version of PayPal. This error often results from the use of bookmarks."
Same problem for this guy (click the button his selling for exactly the same error message):
http://activeden.net/item/flash-paypal-button/33157
So my button code looks like this: (anyone know where the problem lies) ?
Actionscript Code:
on (release) { var paypal = new LoadVars(); paypal.cmd = '_xclick'; paypal.upload = '1'; paypal.business = 'me@adomain.com'; paypal.currency_code = 'GBP'; paypal.amount = price; paypal.no_shipping = '1'; paypal.shipping = '0'; paypal.tax = '0'; paypal.lc = 'GB'; paypal.item_name = [style+", "+type]; paypal.send('https://www.paypal.com/cgi-bin/webscr', 'POST'); }
Best wishes
Monty
-
I don't want to be unkind but:
1)why don't you start a new post?
2)thats as2 and your in the as3 forum.
sorry but i can't help you...
can anyone answer my question?
please.
Last edited by MrSmither; 03-12-2010 at 01:52 PM.
Tags for this Thread
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
|