[FX.php List] Returning to cookie-less session from external server

Steve Winter steve at bluecrocodile.co.nz
Tue Jan 29 11:52:26 MST 2008


Hi Jonathan,

Not entirely true... the previous session will still in fact exist, all you
need to do is work out how to get to it... hence my random suggestion before
about recording the sessionID in a place you have access to (if you can't
pass it through the payment processing process)...

Anyway, sounds like you have a solution...

Cheers
Steve

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jonathan Schwartz
Sent: 29 January 2008 18:15
To: FX.php Discussion List
Subject: RE: [FX.php List] Returning to cookie-less session from external
server

Of course!  That's it.

You can't restart the same session you left with, but you an create a 
new session with the customer ID or other unique ID.

DOH!

As always...thanks, Steve.

J

At 6:05 PM +0000 1/29/08, Steve Winter wrote:
>Hi Jonathan,
>
>That will depend largely on the credit card payment processor. For example
>with WorldPay, whom I have used on a number of projects, and who provide an
>excellent service, it's possible to pass parameters to them, which are then
>returned in the 'callback' page (mypage.php in your example below).
>
>In the last solution I developed what I did was to pass the FMP recID as a
>parameter into, and received back from WorldPay.
>
>Random thought as an alternative, if that's not a solution, do you have to
>provide some sort of unique 'cart id' to the payment server...? and is this
>information still available to you after processing. If so, what you could
>do is to create a separate FMP table, which contains the cart ID and the
>current PHP session ID. Just before you hand the client off to the payment
>server, create a new record in that table. When they return from the
payment
>server, sue the cart ID to relocate the session ID...??
>
>Cheers
>Steve
>
>-----Original Message-----
>From: fx.php_list-bounces at mail.iviking.org
>[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jonathan
Schwartz
>Sent: 29 January 2008 16:51
>To: FX.php Discussion List
>Subject: [FX.php List] Returning to cookie-less session from external
server
>
>Hi Folks,
>
>How to do successfully return from a third party server (credit card
>payment) when using SID for a no cookies browser? Session is started
>locally, then off to cc payment and then back.
>
>I do have the ability specify the returning page in the third party
>set up.  It currently just has "mypage.php".   I'm not sure whether I
>should try to add the SID.  And even if I could, I couldn't add if
>/else.
>
>Or, can you simply restart the session with SID when arriving at the
>return page?
>
>Any suggestions?
>
>J
>
>
>--
>Jonathan Schwartz
>Exit 445 Group
>jonathan at exit445.com
>http://www.exit445.com
>415-381-1852
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list




More information about the FX.php_List mailing list