ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Retrieving Session Data
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Retrieving Session Data

 Post Reply Post Reply
Author
Message
palagrim View Drop Down
Newbie
Newbie


Joined: 27-January-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote palagrim Quote  Post ReplyReply Direct Link To This Post Topic: Retrieving Session Data
    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
Back to Top
palagrim View Drop Down
Newbie
Newbie


Joined: 27-January-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote palagrim Quote  Post ReplyReply Direct Link To This Post Posted: 07-July-2009 at 6:58am
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! :)
Back to Top
palagrim View Drop Down
Newbie
Newbie


Joined: 27-January-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote palagrim Quote  Post ReplyReply Direct Link To This Post Posted: 07-July-2009 at 7:41am
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.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 07-July-2009 at 8:37am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.