I can't add test card in my wallet sandbox for Apple Pay

env: iPhone 8 iOS 11.2.1


I followed https://developer.apple.com/apple-pay/sandbox-testing/

At the final step I can't add visa card to my Wallet sandbox,

I changed my region to US, after I tap 'Enter Card Details Manually', the input page need "Name" and Card Number,

What is this 'Name'?

I tryed my apple id and my apple name but it doesnt work and told me 'Could Not Add Card'.


any advise to me ?

Answered by Dukuu in 378428022

To use sandbox apple pay test account you need to create specific test user.

This was a trick, as account owner shared with us accounts that he said were test accounts. Appeared to be, they were real accounts and test cards are not binding to it. But you can bind there real card (you can check that to see if it's real or test account).

Under that sub-admin account you can create true-test user, somewhere around here: https://appstoreconnect.apple.com/access/testers

When you create that test dummy user, login to your device with it, assign proper region (in a list on the top here): https://developer.apple.com/apple-pay/sandbox-testing/

After login with dummy tester account, go to "wallet and apple pay" on your device, add test card there.

After that to test it is functional, go to https://applepaydemo.apple.com/

and push that button, see "done" in final.

That's it


P.S.: why dev forum don't answer this question? Very sad =(

I'm having the same issue now, did you fix that? thanks

Accepted Answer

To use sandbox apple pay test account you need to create specific test user.

This was a trick, as account owner shared with us accounts that he said were test accounts. Appeared to be, they were real accounts and test cards are not binding to it. But you can bind there real card (you can check that to see if it's real or test account).

Under that sub-admin account you can create true-test user, somewhere around here: https://appstoreconnect.apple.com/access/testers

When you create that test dummy user, login to your device with it, assign proper region (in a list on the top here): https://developer.apple.com/apple-pay/sandbox-testing/

After login with dummy tester account, go to "wallet and apple pay" on your device, add test card there.

After that to test it is functional, go to https://applepaydemo.apple.com/

and push that button, see "done" in final.

That's it


P.S.: why dev forum don't answer this question? Very sad =(

None of the cards are working when I try to add them. I get payment declined, can't be used with iTunes, and contact Apple Support error messages. I've gone through the whole Visa and MC list, and half the Discover list.

Hi, @jbhelfrich


Did you manage to add any of the test cards? I have the same issue on an iPad Air 2

Most of the time we forget to sign out the iCloud from Serttings. Make sure to sign out of iCloud and sign into your test device with your sandbox tester account.

signed out of icloud, logged in with account added to sandbox (had to verify email in the settings too), and still getting "Invalid Card" error while trying to add any test cards. This is all on the blank iphone dedicated only to apple pay.

Anyone else (or Apple?) ever got this to work following instructions on https://developer.apple.com/apple-pay/sandbox-testing/?

you can use any dummy name

I don't if this helps anyone but I was also gettign errors when trying to add Test Cards to Sandbox account. I restarted my phone after changing accounts and that seemed to allow card addition from there on in.

Hi I had the same issue but I was able to add a Visa and a Mastercard test card after restarting my test iphone 6s. Steps to do

  • create a sandbox use in apple connect
    • use a fresh email address that never was used on itunes
  • activate apple Id from email
  • configure the new device using the test account apple id
  • add a shipping address to the new apple id
  • restart the device
  • go to settings - wallet & Apple Pay
  • add any of the listed test card details

Enjoy testing :-)

  1. Set up a new user on your mac
  2. log in to icloud with apple sandbox account
  3. go to settings > wallet & apple pay
  4. set an email (apple sandbox account email)
  5. set an address: 1 Infinite Loop, Cupertino, CA 95014, USA
  6. set a phone number: +1 408-606-5775
  7. Try adding cards from https://developer.apple.com/apple-pay/sandbox-testing/ until some work for you, the 4th amex and 2nd visa worked for me.
I can't add test card in my wallet sandbox for Apple Pay
 
 
Q