|
Changing Session("TxtMode") |
Post Reply |
Author | ||
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
Posted: December/10/04 at 1:00pm |
|
Found my issue:
OLD WAY
NEW WAY
|
||
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
|
|
Thanks for the quick reponse.
Reason we want to do this is because have had some issues recently with customers that have had different billto info vs shipto info. Sometimes it takes us a few days to get to customers that fall into this category and we do not want to tie up their money if we still have not processed the order(s). This allows us to authorize the transaction but not take the money out of the account until we confirm a few things. Maybe the standard for other ecommerce business' is to do AUTH_ONLY but that becomes a lot of work to go back into and capture the transaction manually. With AUTH_CAPTURE it's automatic in the batch each night. Maybe others have suggestions on ways of doing this. We would be delighted to hear your methods. Hope this helps in understanding. |
||
Techno Geek
Admin Group Evil monkey living in my closet! Joined: March/11/04 Location: United States Status: Offline Points: 1206 |
Post Options
Thanks(0)
|
|
I'm not sure if I follow. Why are you doing it this way? |
||
Techno Geek
Customer Support Engineer ComCity and SalesCart Technical Support |
||
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
|
|
I added the following code to the receipt1.asp page right before calling the class. The page does work but all trans are coming through as AUTH_ONLY even if adderss' are the same.
Any thoughts from anyone on my code?
|
||
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
|
|
Will,
Thanks for responding to the post. I know it can handle the following if you provide in TP.asa (Other types: AUTH_ONLY, PRIOR_AUTH_CAPTURE, CREDIT, CAPTURE_ONLY, VOID) The issue is changing the session variable right before you call the class to send to Authorize. Working on some code at the moment that may post later. Just right before the class is called I will be calling the database (joining payment.Orderid = customer.Orderid) and checking to see if Address is same as shipaddress (StrComp(payment.Address, customer.shipaddress) = 0) and if not then changing Session("TxtMode") = "AUTH_ONLY" |
||
Techno Geek
Admin Group Evil monkey living in my closet! Joined: March/11/04 Location: United States Status: Offline Points: 1206 |
Post Options
Thanks(0)
|
|
I show the function for Authorize.net can handle both AUTH_CAPTURE & AUTH_ONLY.
|
||
Techno Geek
Customer Support Engineer ComCity and SalesCart Technical Support |
||
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
|
|
Has anyone every wrote code to change the Session("TxtMode") from AUTH_CAPTURE to AUTH_ONLY during checkout?
Currently in our TP.asa file we have our Session("TxtMode") = AUTH_CAPTURE. For our customers that have different billing then shipping we want to set the Authorize.net Mode to Authorize Only and not capture so we would need to set Session("TxtMode") = AUTH_ONLY. I see in receipt1.asp we call CTp.asp Sub setVars() Session("TxtMode") is set to TMode which is what is sent to Authorize.net. Would we just do our address compare before calling class CTP in receipt1.asp and if different set Session ("TxtMode") = 'AUTH_ONLY'? Thanks for any advice. |
||
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 |