-
Flash and Paypal?
Is there a way to link flash to Paypal? Does anyone have any experience with this. Anything would help! Thanks.
www.enjoychess.com
ANDY
-
The G5 SP
-
that's awesome
how is that done?
-
The G5 SP
massive amounts of variables, loadvars, and if statments....
I can guide you along the way but there is alot to know to just start out....
Ask away and I will help.
Basically the text fields are looked at by a loop that check if they are full if they are, then it sends another loop to send variables to pay pal in the use of a newLoadVars, and arrays.
Pretty crazy stuff
the if statments make it so when you add a new product, it checks to see what the last line full is then add the product to the line underneath.
get good with loops to start
code:
for(i=0 ; i<10 ; i++){
trace("I am at number"+i);
}
what this does it set i to 1
then, while the second part =true, so every frame i<=0 it will loop
then, add one to i every frame
basically this will loop ten times, because of the i<=10
then it will trace in the output window, the phrase I am at number, then will input what ever number you are at because i is equal to the number of the times it has looped....so your output window would look like
I am at number 1
I am at number 2
I am at number 3
I am at number 4
I am at number 5
I am at number 6
I am at number 7
I am at number 8
I am at number 9
I am at number 10
because every time it loops over it send I am number then what ever number it is on.
That is the fundamental of the shopping cart
Last edited by N_R_D; 08-30-2004 at 02:27 PM.
-
I have an icon and U dont!
What is the datastream you are sending to paypal?
[a.fun>b.fun ? trace("do(a)") : trace("do(b)");
wundes.com
-
The G5 SP
data stream?
you mean the newLoadVars?
-
NRD, can you post your example again?
-
if($<0){WelcomeToMyWorld}
I found this from flash exchange
http://www.webassist.com/Products/Pr...ils.asp?PID=24
got to mrermadebaubles.com to see how I use this in my catalog
no action script needed
just set the snap to snap to object
and snap the object to a button the go to the propties
and put in all the needed info
thats it.
Last edited by joshchernoff; 07-04-2005 at 12:34 AM.
-
These look like cheesy methods. Having a website shopping cart would look better.
Don't you think? Especially if your selling more then one product?
-
Sorry for interrupting, but is it secure to do online payments through flash?
-
-
if($<0){WelcomeToMyWorld}
all the link duz it bring you to paypal with some info about the price, product id and the email needed to get payment, there is a shoping cart, but i dont us that. I use the buy it now button . paypal has a incript button you can use from thier site but I dont know how to get it to work with flash.
realy this way is only good for goods and not services
-
It would be nice to have a flash shopping cart for multiple items for sale then a paypal button to send final total to them. Paypal will be the secure part where the customer filles out name, credit card and etc.
-
if($<0){WelcomeToMyWorld}
thats how it works
Originally Posted by keith30
It would be nice to have a flash shopping cart for multiple items for sale then a paypal button to send final total to them. Paypal will be the secure part where the customer filles out name, credit card and etc.
thats how it works, you just said it
but the shoping cart part in on the paypal site, but there is a way to set it up on your site that way too.
-
does this mean that to able to use paypal in ur website u can't (technically, forget the security part) write a flash application that is totally independent from the button (or the encrypted stuff) paypal provide?
Last edited by Mr.smith; 07-06-2005 at 03:44 PM.
-
if($<0){WelcomeToMyWorld}
i sell goods not services so I dont have a need for encrypted buttons.
the buttons I use bring them to pay pal witch is a encrypted site.
-
Originally Posted by joshchernoff
i sell goods not services so I dont have a need for encrypted buttons.
the buttons I use bring them to pay pal witch is a encrypted site.
Not specifically, I never built a web site with paypal, so in general, to able to use paypal in ur website u can't write a flash application that is totally independent from the button (or the encrypted stuff) paypal provide?
-
The G5 SP
WOW that was a long time ago...
Here check this out.....
www.879rr.com
goto "FunkTone" That is the basic version... didnt get paid a whole lot to customize it out.....
But you get the idea....
Hit the check out button to see how ti communicated to paypal.
Dont worry you wont be charged.
Unless you want to
-
NRD...I know this was a long time ago..but can you show me more?
I looked at your site, "879" and the shopping cart that you constructed is exactly what I need with PayPal. Do you have a tutorial or the coding that you used? I would love to take a look at it.
Thanks!
Sincerely,
Furpants
-
Paypal has documentation on how to do this: https://www.paypal.com/us/cgi-bin/we...howto_checkout (you need to be signed in to see it)
I'm currently building a Flash-only shopping cart. After reading that Paypal documentation and a few forums, I had it working within 1.5 hrs. I don't have the actual code on me right now, but I can post it when I get home. Basically, the app must run in a browser (I couldn't get a Projector to work, it has to do with the way it sends variables). All the information for the cart is stored internally within Flash until they hit Purchase. It uses a LoadVars object to submit the necessary info to Paypal and a new window is opened. The only information it sends is the items, quantities, and prices for each item (using POST... the user won't see it). The actual transaction is done through the Paypal site, so you don't even have to worry about the security part of it.
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
|