![]() |
Retrieving Session Data |
Post Reply ![]() |
Author | |
palagrim ![]() Newbie ![]() Joined: 27-January-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 07-July-2009 at 6:24am |
Hi,
We are currently setting up Product Cart 3.51 and are developing our own payment gateway. Due to new criteria from Mastercard, we have to include support for SecureCode and Verified by Visa during the payment process. This means that the process is now as follows: 1) User enters card details 2) User is redirected to SecureCode/Verified By Visa 3) User enters password and is then redirected back to our gateway 4) Transaction is completed either successfully or unsuccessfully. My problem is, when the user is redirected to the 3rd party website and back again, the session variables seems to be cleared so I can't get the Order Total (pcBillingTotal) or Order Number etc. Does anyone know of a way around this? Many thanks. Craig |
|
![]() |
|
palagrim ![]() Newbie ![]() Joined: 27-January-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Correction - the Session("pcCartIndex") is accessible after returning to the gateway... I need to know how this information put back in the session variable so I can get the Order Total etc etc... Thanks! :)
|
|
![]() |
|
palagrim ![]() Newbie ![]() Joined: 27-January-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Correction correction - Think I've solved it. If you set the "pcGatewayDataIdOrder" to the order number and then #include the file pcGatewayData.asp then all of the variables such as pcBillingTotal, pcCustomerEmail etc etc are all set.
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi Palagrim,
Do you mean your own payment gateway - or a payment gateway interface? I'm guessing the latter. I'm sure you have seen the page already as it seems you have nearly completed it, but I just wanted to make sure you have seen : http://wiki.earlyimpact.com/how_to/adding_new_payment_gateway |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |