Re: Paypal and PHP
| From: | chris schneck | Date: | Thu, 19 Jul 2001 19:42:54 +0000 |
| Subject: | Re: Paypal and PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58778@lists.php.net to get a copy of this message | ||
I think this is the complete form i use for paypal, might be an old version.
check the paypal.com website in the button generator section they give the
variables to be passed.
<FORM ACTION="https://www.paypal.com/cgi-bin/webscr"
METHOD="POST">
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
<INPUT TYPE="hidden" NAME="business" VALUE="email@yourhost.com">
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.yourhost.com/">
<INPUT TYPE="hidden" NAME="undefined_quantity" VALUE="1">
<INPUT TYPE="hidden" NAME="item_name" VALUE="item name">
<INPUT TYPE="hidden" NAME="item_number" VALUE="[sku or unique product
number]">
<INPUT TYPE="hidden" NAME="amount" VALUE="[dollar value of product goes
here]">
<INPUT TYPE="hidden" NAME="shipping" VALUE="[shipping value]">
<INPUT TYPE="hidden" NAME="no_shipping" VALUE="1">
<INPUT TYPE="hidden" NAME="cancel_return" VALUE="http://www.yourhost.com/">
</form>
----- Original Message -----
From: "ReDucTor" <sjdtmv@tpg.com.au>
To: "chris schneck" <chris@hubcityhosting.com>
Sent: Thursday, July 19, 2001 11:49 AM
Subject: Re: [PHP] Paypal and PHP
> have you used paypal system before?
> if so how did you set it up, because i don't wish to sort thro all the
> includes, work out what does what, etc
> - James "ReDucTor" Mitchell
> ----- Original Message -----
> From: chris schneck <chris@hubcityhosting.com>
> To: <php-general@lists.php.net>
> Sent: Friday, July 20, 2001 12:27 AM
> Subject: Re: [PHP] Paypal and PHP
>
>
> > theexchangeproject.org has a "module" built into their store that works
> > directly with paypal, ive set up and succesfully used it to tie into a
> > paypal account. Although it might be a little more powerful than what
you
> > want, the code there shows which variables to be passed to paypal to
make
> a
> > transaction. That information is also on paypal's website.
> > ----- Original Message -----
> > From: "ReDucTor" <sjdtmv@tpg.com.au>
> > To: <php-general@lists.php.net>
> > Sent: Thursday, July 19, 2001 7:12 AM
> > Subject: [PHP] Paypal and PHP
> >
> >
> > Hey,
> > does any one know a way to use paypal with php?
> > - James "ReDucTor" Mitchell
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>