I've tried running test orders on my Shopify store but each time I place an order, it returns an error. The response code is 7. I double checked the API Login ID and Transaction Key. I set test mode on both Shopify and AuthorizeNet account. These are the test credit card numbers I used with future expiration dates:
American Express | 370000000000002 |
Discover | 6011000000000012 |
JCB | 3088000000000017 |
Diners Club/ Carte Blanch | 38000000000006 |
Visa | 4007000000027 |
4012888818888 | |
4111111111111111 | |
MasterCard | 5424000000000015 |
2223000010309703 | |
2223000010309711 |
Anyone with experience using Shopify can help me out? I have no idea why this isn't working.
Solved! Go to Solution.
โ04-28-2017 02:20 PM
@ebuzguy you can create a sandbox account at http://developer.authorize.net/hello_world/sandbox and then set Shopify to test mode but keep your sandbox in live mode. This should help you isolate the issue.
Richard
โ04-29-2017 02:34 PM
Are you using a valid expiration date format? MMYY, MM/YY, MM-YY, MMYYYY, MM/YYYY, MM-YYYY
โ04-28-2017 02:38 PM
โ04-28-2017 02:56 PM
Added some screenshots,
Shopify checkout page. Test credit card number entered.
Error message after submitting order. Happens with every test credit card number used.
Payment settings in Shopify account for AuthorizeNet payment gateway. Test mode checked and API Login ID and Transaction Key inputted.
Details of test order transaction. AuthorizeNet shows response code 7 which means invalid expiration date of credit card. I used a valid future expiration date so why is this happening?
Test mode setting in AuthorizeNet account. I've checked in with AuthorizeNet support, they verified that my account is good to go.
โ04-28-2017 04:25 PM
Hello @ebuzguy
Are you attempting a transaction in our sandbox or production credentials? Our sandbox and production systems are separate and you cannot use credentials from one system to another.
A quick check of shopify help suggest setting test mode within Shopify when using Authorize.Net requires that you use sandbox credentials.
Richard
โ04-28-2017 04:59 PM
Hi Richard,
I'm not sure. How do I find out if I'm using sandbox or production credentials?
โ04-28-2017 08:15 PM
Sandbox credentials are obtained from https://sandbox.authorize.net/
โ04-29-2017 04:26 AM
Okay, I definitely know I don't have sandbox credentials. The API Login ID and Transaction Key credentials used for my Shopify account is from my live account. Could this be the reason why I'm getting an error when doing test orders?
โ04-29-2017 11:26 AM
@ebuzguy you can create a sandbox account at http://developer.authorize.net/hello_world/sandbox and then set Shopify to test mode but keep your sandbox in live mode. This should help you isolate the issue.
Richard
โ04-29-2017 02:34 PM
Awesome! Test order was successful. Since I'm using sandbox credentials, how would I know that my production credentials will work with real orders? Or is it that since I'm already running successful test orders via sandbox, this already means that real orders through my production credentials will work?
โ04-29-2017 03:19 PM