Can you use a hidden frame when going to and from your gateway? By doing
so your user would stay within your site while the transaction is
processed so your session variables may continue to exist. Just a thought...

Cutter

Paul Vernon wrote:
> Dwayne,
>
>
> We don't rely on session variables for this sort of function as as you have
> found with the new privacy stuff in IE, sessions cannot be relied upon.....
>
>
> Instead, the way we do it is that we have a field in the orders table that
> indicates completion of the payment or not. We insert the basket contents
> into the order tables BEFORE we go to the payment gateway and when we
> transfer to the gateway, we pass a custom form field that carries the Order
> ID (most payment gateways do this). The Order ID is passed back to out
> transaction completion page upon payment where we can then update the order
> to the new status of completed. We therefore never have to rely on cookies
> being lost on transfer to or from our payment gateway.
>
>
> If the order is cancelled at the payment gateway, the custom form fields are
> still passed back so we know that the order was cancelled and we are safe to
> delete the non-completed order from the orders table. If the order has not
> been completed after a reasonable amount of time (say 6 hours) then we know
> that the user got to the payment gateway then closed their browser or
> something similar so again, we are safe to delete the non-completed order.
>
>
> HTH
>
>
> Paul
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to