Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to add test card for apple pay testing

I am working to integrate Apple pay in my application to test it. I assume, I need to have some test card added in my wallet app . Without this I am getting an error in Xcode that reads "This device cannot make payments."

I have done all the setup related to Xcode, and under capability I can see my merchant id selected and all 3 checkmarks done.

So I tried adding test card for apple pay testing (getting the token) I followed the process as setting -> wallet and apple pay -> add credit/debit card -> enter manually -> Here I have given fake credentials taken from apple

testcards from apple site FPAN: 5204 2477 5000 1497 Expiration Date: 11/2022 CVC: 111

But none of the cards are accepted, for MASTERCARDS I get error like, issuer doesn't yet offer support for this card. Likewise errors for visa test cards I get.

So how am I suppose to test apple pay integration without having to add the cards in apple pay setup or how can I add a test card successfully so that I get the token.

EDIT: I was able to successfully see the apple pay presentation screen, as simulated cards are allready added in it by default.

I am looking for the same with real device.

like image 784
saket kumar Avatar asked Jul 28 '16 10:07

saket kumar


1 Answers

Hi I have just got this answer from support

It’s not possible to add a test credit card number (even Braintree’s test cards) into Apple’s Passbook. So any credit card you wanted to add into Passbook even for testing purposes would need to be real.

updating it so that user should not be confused when they work with apple pay.

like image 103
saket kumar Avatar answered Sep 19 '22 09:09

saket kumar