Apple and stripe : Merchant id/apple pay certificate could not seen in xcode

大城市里の小女人 提交于 2019-12-02 17:33:41

问题


I have followed every steps to create stripe credit card payment functionality with apple pay in my app. It is works fine for my xcode and merchant id/bundle id.

What I need: My client have his own apple developer account, and he want to add his client's merchant id in app.

What I have from client: 1. IOS developer certificate(with Bundle id) 2. Apple pay certificate 3. Merchant id

I have added developer certificate and apple pay certificate in key chain. as well as changed "Build settings -> code signing" with clients developer certificate.

Problem: Here "capability -> Apple pay -> merchant id" of client id does not displayed. If I click on "fix issue". xcode redirect me to select my developer profile.

Please confirm is this information is enough. If yes please assist me to solve this.

My screen is now look like this When I click on add/refresh :

Please tell me what I missing


回答1:


Have you created these certificates on your machine. If not then ask for p12 certificate. It will resolve your issue.

@AkshayPatil : You are facing this issue only because of wrong certificates or wrong process.

  1. Check whether "Apple Pay" is activated or not before certificate was created.
  2. You should get .p12 certificate when someone create these certificate on another machine
  3. You should use same apple account to activate "Apple Pay" otherwise you will not be able to access these certificates and Apple pay will throw an error. I tried on my machine. It works fine. You should add "merchant." before merchant ID.



回答2:


Add manually and test it. See screenshot




回答3:


Just had this problem appear when I tried to add Apple Pay to my capabilities. Nothing really worked, except for disabling automatic signing, downloading a Development profile from developer.apple.com, importing it, having it error out, and then re-enabling automatic signing.

That made everything work again.



来源:https://stackoverflow.com/questions/36396961/apple-and-stripe-merchant-id-apple-pay-certificate-could-not-seen-in-xcode

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