payment.token.paymentData empty on iOS simulator

.Hi!


I am trying to implement Apple Pay for my app, but unfortunately encountered a problem already at the first steps:


I can't manage to make test payments on iOS simulator: payment sheet is presented and didAutorizePayment delegate method is called, but


payment.token.paymentData is empty (payment.token.paymentData.llength == 0).


What could be wrong? I think, that I have followed all Apple Pay set-up instruvtions in https://developer.apple.com/library/ios/ApplePay_Guide/index.html#//apple_ref/doc/uid/TP40014764-CH1-SW1

You can't do it in the simulator, you have to test on real device.

Thanks, the solution was really simple, but I just couldn't figure it our by myself..

payment.token.paymentData empty on iOS simulator
 
 
Q