Re: Authorizenet and expiration dates

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46466
interpreted = N
texte = Then again, could be user error. I guess a convertchars with the 2-digit numbers was failing because it was going character by character. A convertwords would be better. GRRrrrrr.Happy holidays all, I think it's time to sign for the week. :) GK| Folks, | | The following is a copy of an email that I sent to Terry Wilson, who's a | list member that has provided much help on the A/N issue(s). I found that a | client of mine was receiving about 30% failure rate on orders, all with the | error of Expiration date invalid. The other 70% of the orders were | passing fine. This is using A/N and the ADC Relay Response method. | | The email is as follows: | ----------------------------- | I just wanted to give you a follow up on what I've found in case you run | into the same problem. I placed one of my clients accounts into test mode | and then tried to purchase using a 2-digit month on the credit card. All | those tests would fail, however with a single-digit exp month, the test | would pass. I had added a convertchars around the exp month to convert them | to 2 digits per A/N tech: | | from to | 1 01 | 2 02 | 3 03 | 4 04 | 5 05 | 6 06 | 7 07 | 8 08 | 9 09 | 10 10 | 11 11 | 12 12 | | If I removed this convertchars, all 2 digit months would now PASS and single | digit months would FAIL. If I enabled this convertchars, the opposite | became true. So, with a simple showif, I now either use the convertchars or | I don't: | | [showif [expmonth]<10] | | [/showif] | [showif [expmonth]>9] | | [/showif] | | All tests thereafter worked. | | My expyear has remained in the 4 digit format. | | ---------------------- | | I'll report back if this turns out to be incorrect, but in test mode, this | seems to be a fix for a problem that I have noticed, but have not seen | reported on this list. | | GK ------------------------------------------------------------- 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. Re: Authorizenet and expiration dates (Gary Krockover 2002)
  2. Re: Authorizenet and expiration dates (Clint Davis 2002)
  3. Re: Authorizenet and expiration dates (Gary Krockover 2002)
  4. Authorizenet and expiration dates (Gary Krockover 2002)
Then again, could be user error. I guess a convertchars with the 2-digit numbers was failing because it was going character by character. A convertwords would be better. GRRrrrrr.Happy holidays all, I think it's time to sign for the week. :) GK| Folks, | | The following is a copy of an email that I sent to Terry Wilson, who's a | list member that has provided much help on the A/N issue(s). I found that a | client of mine was receiving about 30% failure rate on orders, all with the | error of Expiration date invalid. The other 70% of the orders were | passing fine. This is using A/N and the ADC Relay Response method. | | The email is as follows: | ----------------------------- | I just wanted to give you a follow up on what I've found in case you run | into the same problem. I placed one of my clients accounts into test mode | and then tried to purchase using a 2-digit month on the credit card. All | those tests would fail, however with a single-digit exp month, the test | would pass. I had added a convertchars around the exp month to convert them | to 2 digits per A/N tech: | | from to | 1 01 | 2 02 | 3 03 | 4 04 | 5 05 | 6 06 | 7 07 | 8 08 | 9 09 | 10 10 | 11 11 | 12 12 | | If I removed this convertchars, all 2 digit months would now PASS and single | digit months would FAIL. If I enabled this convertchars, the opposite | became true. So, with a simple showif, I now either use the convertchars or | I don't: | | [showif [expmonth]<10] | | [/showif] | [showif [expmonth]>9] | | [/showif] | | All tests thereafter worked. | | My expyear has remained in the 4 digit format. | | ---------------------- | | I'll report back if this turns out to be incorrect, but in test mode, this | seems to be a fix for a problem that I have noticed, but have not seen | reported on this list. | | GK ------------------------------------------------------------- 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/ Gary Krockover

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:

How can I record purchases to a database? (1998) Date Calulation (1997) [searchString] (1997) WC1.6 to WC2 date formatting (1997) BBEdit and WebCatalog 2.0? (1997) [index] (1997) SiteGuard Admin Feature ? (1997) Beta 18 (1997) Not really WebCat- (1997) Orderfile Info is Dissappearing (1998) Extended [ConvertChars] (1997) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) apostrophe in search item (1997) !@#$$@@# formulas database, tax and freight. (2002) NewCart+Search with one click ? (1997) What generates Problem With Your Order email? (2000) creator code (1997) Webcatalog error, Plug-in for Webstar (1996) Removing a character (2000) Tab Charactor (1997)