Best Place for AuthorizeNet Call

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53234
interpreted = N
texte = I'm trying to determine the best place to make the TCPConnect call to Authorize.Net for transaction processing. Which way do you recommend? Method_A: --------- 1. Customer is on final review page with "purchase" button 2. Customer clicks "purchase" which calls a file which performs the following while the customer waits: a) TCPConnect to AuthorizeNet in realtime b) When response is received from Authorize.Net, the orderfile header gets updated with the response codes. c) The orderfile is moved to the "Orders" folder for WebMerchant to sweep d) A redirect takes the customer to a ThankYou page. 3. WebMerchant sweeps the "Orders" folder by calling the default DoPurchases.inc file which in turn calls GoodPath.inc or BadPath.inc Method_B: --------- 1. Customer is on final review page with "purchase" button 2. Customer clicks "purchase" which calls a file which performs the following: a) The orderfile is moved to the "Orders" folder for WebMerchant to sweep b) A redirect takes the customer to a ThankYou page. 3. WebMerchant sweeps the "Orders" folder by calling a custom DoPurchases.inc file which does the following: a) Calls a file which does a TCPConnect to AuthorizeNet, gets the response codes and updates the orderfile header with the response codes. b) Continues with the default DoPurchases.inc code which in turn calls GoodPath.inc or BadPath.inc Thanks, Brian -- Brian Wachter 5 Moulton Street Portland, ME 04101 bwachter@stoneport.com 207.772.3826 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Best Place for AuthorizeNet Call ( Brian Wachter 2003)
I'm trying to determine the best place to make the TCPConnect call to Authorize.Net for transaction processing. Which way do you recommend? Method_A: --------- 1. Customer is on final review page with "purchase" button 2. Customer clicks "purchase" which calls a file which performs the following while the customer waits: a) TCPConnect to AuthorizeNet in realtime b) When response is received from Authorize.Net, the orderfile header gets updated with the response codes. c) The orderfile is moved to the "Orders" folder for WebMerchant to sweep d) A redirect takes the customer to a ThankYou page. 3. WebMerchant sweeps the "Orders" folder by calling the default DoPurchases.inc file which in turn calls GoodPath.inc or BadPath.inc Method_B: --------- 1. Customer is on final review page with "purchase" button 2. Customer clicks "purchase" which calls a file which performs the following: a) The orderfile is moved to the "Orders" folder for WebMerchant to sweep b) A redirect takes the customer to a ThankYou page. 3. WebMerchant sweeps the "Orders" folder by calling a custom DoPurchases.inc file which does the following: a) Calls a file which does a TCPConnect to AuthorizeNet, gets the response codes and updates the orderfile header with the response codes. b) Continues with the default DoPurchases.inc code which in turn calls GoodPath.inc or BadPath.inc Thanks, Brian -- Brian Wachter 5 Moulton Street Portland, ME 04101 bwachter@stoneport.com 207.772.3826 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Wachter

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

ASCII Code 127 (2004) PCS Emailer's role ? (1997) Follow-up to listfiles bug report ... (2003) NT or Mac (1997) [index] (1997) page redirect in webDNA (1997) Searchable WebCat (etc.) Docs ? (1997) shipcost (1997) Math with Time (1997) [WebDNA] 301 redirect (2016) TCP Connect (2003) File Upload (1997) Summing fields (1997) NT Version on IIS 4.0 (1997) Is there a way to just get to the last record in the database? (1997) Refering page (1998) Re:Help name our technology! (1997) WebCatalog for guestbook ? (1997) listfiles shows invisible files ... (1999) Re:URGENT: WebCatalog 2.0 (1998)