cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Test Card Numbers Not Working

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? 

MaxBreakfast
Member
1 ACCEPTED SOLUTION

Accepted Solutions

@MaxBreakfast perhaps you typed it wrong in your reply, but cardNumber is misspelled.

View solution in original post

8 REPLIES 8

@MaxBreakfast

 

Which test card numbers are not working for you?

 

Richard

RichardH
Administrator Administrator
Administrator

@RichardH

 

I've tried all of them. None appear to work.

Any update on this?

MaxBreakfast
Member

@MaxBreakfast 

 

I would start by inspecting the secureData object prior to submitting to the API.

 

Richard

 

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"

}

MaxBreakfast
Member

@MaxBreakfast perhaps you typed it wrong in your reply, but cardNumber is misspelled.

ugh that was it...I'm sorry to bother you Richard, though I'm sure it won't be the last time.

I'm glad we were able to find the problem by just adding a second pair of eyes.  :)