A Flash Developer Resource Site

Page 1 of 6 12345 ... LastLast
Results 1 to 20 of 118

Thread: Flash and Paypal?

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    Philadelphia area
    Posts
    9

    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
    www.enjoychess.com

  2. #2

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Posts
    9
    that's awesome

    how is that done?

  4. #4
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118
    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

  5. #5
    I have an icon and U dont! johnwun's Avatar
    Join Date
    Nov 2000
    Location
    Santa Cruz, CA
    Posts
    258
    What is the datastream you are sending to paypal?
    [a.fun>b.fun ? trace("do(a)") : trace("do(b)");

    wundes.com

  6. #6

  7. #7
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    NRD, can you post your example again?

  8. #8
    if($<0){WelcomeToMyWorld} joshchernoff's Avatar
    Join Date
    Jul 2005
    Location
    Portland
    Posts
    321
    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.

  9. #9
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    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?

  10. #10
    Control unit
    Join Date
    Jun 2005
    Location
    The real world
    Posts
    7
    Sorry for interrupting, but is it secure to do online payments through flash?

  11. #11
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    that's a good question.

  12. #12
    if($<0){WelcomeToMyWorld} joshchernoff's Avatar
    Join Date
    Jul 2005
    Location
    Portland
    Posts
    321
    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

  13. #13
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    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.

  14. #14
    if($<0){WelcomeToMyWorld} joshchernoff's Avatar
    Join Date
    Jul 2005
    Location
    Portland
    Posts
    321

    thats how it works

    Quote 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.

  15. #15
    Control unit
    Join Date
    Jun 2005
    Location
    The real world
    Posts
    7
    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.

  16. #16
    if($<0){WelcomeToMyWorld} joshchernoff's Avatar
    Join Date
    Jul 2005
    Location
    Portland
    Posts
    321
    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.

  17. #17
    Control unit
    Join Date
    Jun 2005
    Location
    The real world
    Posts
    7
    Quote 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?

  18. #18
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118
    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

  19. #19
    Senior Member
    Join Date
    Sep 2003
    Posts
    303

    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

  20. #20
    Senior Member
    Join Date
    Jun 2003
    Location
    Kent, WA
    Posts
    536
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center