Re: E-Commerce - Integrating Sessions With Charging Processes That rePOST
| From: | Jason Wong | Date: | Mon, 20 Aug 2001 19:42:41 +0000 |
| Subject: | Re: E-Commerce - Integrating Sessions With Charging Processes That rePOST | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11574@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: Fotwun <fotwun@softhome.net>
To: <php-general@lists.php.net>; <php-db@lists.php.net>
Sent: Monday, August 20, 2001 1:40 PM
Subject: [PHP-DB] E-Commerce - Integrating Sessions With Charging Processes
That rePOST
> Hi,
>
> I have basically seen and used two methods for integrating credit card
> gateways into PHP code.
>
> The first method is one that opens a socket to the gateway server and
sends
> the data from within the code.
>
> The second is where FORM data is posted to a https URL with the URL is
> should send the response back to, with the confirmation code, etc.
[snip]
> Because the clients order id that is generated will be stored as a
session,
> I need a way to reference the order ID and confirmation code that is
> returned by the posted data from the gateway, against the session data to
> start inserting the data into the DB if it was a successful charge.
You can store the session-id in the return URL.
regards
--
Jason Wong
Gremlins Associates
www.gremlins.com.hk