简体   繁体   English

在Xcode 7.2 iOS模拟器上添加Apple Pay卡

[英]Add Apple Pay Card on Xcode 7.2 iOS Simulator

I'm using the iOS/iPhone6 simulator from Xcode 7.2. 我正在使用Xcode 7.2的iOS / iPhone6模拟器。 Following the steps on Apple Pay Stripe integration guide I just can't find the Wallet & Apple Pay link on the settings screen. 按照Apple Pay Stripe集成指南中的步骤操作,我在设置屏幕上找不到Wallet & Apple Pay链接。 I'm already logged on a iCloud tester account. 我已经登录了iCloud测试人员帐户。 Am I missing something? 我错过了什么吗? I just can't find Apple Pay settings on iOS simulator. 我只是在iOS模拟器上找不到Apple Pay设置。

The other posts are mostly right. 其他帖子大多是正确的。 To add a credit card you need to be on a physical device and if you're testing you should be logged into a Apple Pay Sandbox Account . 要添加信用卡,您需要使用物理设备,如果您正在测试,则应登录Apple Pay Sandbox帐户

However, you can still test just fine with the Simulator, just use the Pay with Passcode button and it will fetch a fake paymentToken from Apple. 但是,你仍然可以使用模拟器进行测试,只需使用Pay with Passcode按钮,它将从Apple获取一个假的paymentToken

在此输入图像描述

You can simulate Apple Pay from the Hardware Menu in the iOS Simulator. 您可以从iOS模拟器中的硬件菜单模拟Apple Pay。

For security reasons, you are not allowed to actually add credit cards or make real payments. 出于安全考虑,您不能实际添加信用卡或进行实际付款。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM