Print Page | Close Window

Retrieving Session Data

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2849
Printed Date: 25-July-2025 at 8:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Retrieving Session Data
Posted By: palagrim
Subject: Retrieving Session Data
Date 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



Replies:
Posted By: palagrim
Date 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! :)


Posted By: palagrim
Date 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.


Posted By: Hamish
Date 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 - http://wiki.earlyimpact.com/how_to/adding_new_payment_gateway


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net