How to test Stripe based Apple Pay? [closed]

南楼画角 提交于 2019-12-23 16:10:35

问题


Currently i am trying to develop a native iOS application where i have to integrate Stripe based Apple Pay, For that i have added the SDK provided by them inside my project.

At the final step, i am going to test the apple pay functionality but i am not sure how i can perform it.

1) Do i have to add some dummy / test card account in my Passbook application ?

2) or Do i have to add some real card account in my Passbook application but while payment operation, if i perform any transaction then do it deduct the balance from my account?

3) or Nothing setup is required for Passbook for development purpose

Please guide me.


回答1:


According to the documentation if you use your test API keys they'll detect it. Here is what it says exactly:

How do I test Apple Pay with Stripe?

Apple won’t let you add a fake credit card to Passport and the iPhone. However, if you’re using Apple Pay and your test Stripe API keys, we’ll recognize the situation when the Apple Pay request is made and return a successful test card token. To test a payment in live mode, you’ll need to use a working credit card.



来源:https://stackoverflow.com/questions/27062961/how-to-test-stripe-based-apple-pay

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!