Setup Apple Pay in iOS 17 simulator

45 Views Asked by At

I'm trying to setup Apple Pay pay as shown in their documentation for sandbox testing. I've created a testing user, and setup its country as US. In the simulator I've setup the region as US as well. I log in with the testing account on the simulator.

If I go to my app and try to purchase something I see this

enter image description here

So I can make purchases, but if I go to settings and try to click on

"Payment & shipping" or "Media & Purchases" it asks for my credentials/password and nothing happens or it says that "iTunes account creation not allowed" - "This Apple ID cannot be used with the iTunes Store at this time".

enter image description here

If I try to add a card in wallet I get "Could not set up Apple Pay"

Should this work on simulator or am I trying something impossible?

I'm using xcode Version 15.0.1 (15A507), simulators with iOS 17 on them.

0

There are 0 best solutions below