Can we test Apple pay in simulator

17,151

Solution 1

Yes it is working in Simulator with Xcode 7 and iOS 9.

No need for bio metric thumb scanning.

Thanks all

Solution 2

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.

Solution 3

In Xcode 12.5 and iOS 14.5 you can do that using

opt + cmd + A

enter image description here

Share:
17,151
Gopal Devra
Author by

Gopal Devra

Currently a Software Engineer at Hughes Systique Private Limited. https://twitter.com/gopal_devra #SOreadytohelp

Updated on July 18, 2022

Comments

  • Gopal Devra
    Gopal Devra almost 2 years

    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

  • Matt Foley
    Matt Foley almost 8 years
    This isn't entirely correct. The simulator Apple Pay flow won't return a valid payment token, which could cause some people to trip up!
  • Rushi trivedi
    Rushi trivedi about 7 years
    but how ? any step .