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.