A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PayPal links in Flash5?

Hybrid View

  1. #1
    After looking through the boards for this, I'm surprised I haven't found a similar question.

    Does anyone happen to know how to set up a PayPal link within an .swf file? In hypertext, there are a number of hidden input types which I can't get to work in a flashfile. Macromedia.com's explanation of hidden fields didn't actually tell me much about this.

    The necessary fields are:

    <FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST">
    <INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
    <INPUT TYPE="hidden" NAME="business" VALUE="BusinessInc">
    <INPUT TYPE="hidden" NAME="return" VALUE="whatever.com">
    <INPUT TYPE="hidden" NAME="undefined_quantity" VALUE="1">
    <INPUT TYPE="hidden" NAME="item_name" VALUE="Product">
    <INPUT TYPE="hidden" NAME="item_number" VALUE="123">
    <INPUT TYPE="hidden" NAME="amount" VALUE="19.95"><INPUT TYPE="hidden" NAME="shipping" VALUE="2.95">
    </FORM>

    How do you get the hidden fields to work in Flash?

    Thanks in advance....

  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    152
    I have an fla example I can send you.

    All you have to do is create input text fields name each field a "name" parameter from the PayPal form and fill the field with the "value" parameter from the form.

    Then load the variables using the post method to the paypal site.

  3. #3

    Okay....

    That almost makes sense. I guess if you can EMail me the .fla, I can figure out exactly what you're talking about.

    Thanks in advance....

    --Gremlin

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