I am currently trying to setup my app to work with accept.js and am testing in a local environment using the sample credit card numbers (found here: http://developer.authorize.net/hello_world/testing_guide/)
However, I keep receiving the following error:
E_WC_05:Please provide valid credit card number.
any ideas?
Solved! Go to Solution.
โ09-15-2016 06:14 PM
@MaxBreakfast perhaps you typed it wrong in your reply, but cardNumber is misspelled.
โ09-16-2016 03:52 PM
โ09-15-2016 06:52 PM
โ09-15-2016 07:39 PM
Any update on this?
โ09-16-2016 11:50 AM
I would start by inspecting the secureData object prior to submitting to the API.
Richard
โ09-16-2016 12:37 PM
I'm logging it to the console, this is what the cardData object looks like inside of the secureData object
{
cadNumber:"4007000000027",
cardCode:"900",
month:"12",
year:"18"
}
โ09-16-2016 01:12 PM
@MaxBreakfast perhaps you typed it wrong in your reply, but cardNumber is misspelled.
โ09-16-2016 03:52 PM
ugh that was it...I'm sorry to bother you Richard, though I'm sure it won't be the last time.
โ09-16-2016 04:20 PM
I'm glad we were able to find the problem by just adding a second pair of eyes. :)
โ09-16-2016 04:29 PM