I know that Apple pay testing we use Apple pay stubs in iOS 8, but please let me know how to use Apple pay without ApplePayStubs in iOS 9 in simulator.
Thanks in advance
It is impossible to make a purchase on a simulator (it is only possible to request a list of available purchases). To test purchases, you first need to set up products on App Store Connect and then use the user's sandbox environment and a real device.
Adding a Test Card NumberMake sure to sign out of iCloud and sign into your test device with your sandbox tester account. Go to Wallet and tap Add Credit or Debit Card. Using your test credential, follow the steps to add a new card using manual entry. After your card has been added, you may begin testing.
In Xcode 12.5 and iOS 14.5 you can do that using
opt + cmd + A
Yes. You can test apple pay using iOS 9 simulator. So you don't need to add any testing sheet instead PKPaymentAuthorizationViewController. It's working on iOS 9 simulator. Make sure your app run on iPhone 6, iPhone 6 plus or latest version of simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With