简体   繁体   English

应用评论被拒绝:使用“设置Apple Pay”图像按钮

[英]App Review Rejected: Use 'Setup Apple Pay' Image Button

My app review got rejected by Apple: 我的应用程序评论被Apple拒绝:

Specifically, Buy with Apple Pay button showing without Apple Pay set up. 具体来说,显示“使用Apple Pay进行购买”按钮,而未设置Apple Pay。

Next Steps: When Apple Pay is not enabled on a user's device the user should see Set up Apple Pay Button. 后续步骤:如果未在用户设备上启用Apple Pay,则用户应看到“设置Apple Pay按钮”。

Resources: For guidance on how to use Apple Pay button assets and payment marks in the customer purchase flow, see the Apple Pay Button and Resources . 资源:有关如何在客户购买流程中使用Apple Pay按钮资产和付款标记的指南,请参阅Apple Pay按钮和资源

But what I can download from that page is the 'Apple Pay' button images, NO 'Setup Apple Pay' button image is included at all! 但是我可以从该页面下载“ Apple Pay”按钮图像,根本不包含“ Setup Apple Pay”按钮图像!

All I could find is a raw image from here 我只能从这里找到原始图像

setupApplePay

However, this does not come with a resouce pack and dimention/ratio does not go well with other 'Apple Pay' buttons. 但是,这不带有资源包,并且尺寸/比例不能与其他“ Apple Pay”按钮配合使用。 What the hack Apple... 什么骇人的苹果...

Am I missing something here? 我在这里想念什么吗? Anyone knows where to download the 'Setup Apple Pay' button images set? 有人知道在哪里下载“ Setup Apple Pay”按钮图像集吗? Thank you! 谢谢!

Add the PassKit framework to your project and import it into your corresponding view controller/s. 将PassKit框架添加到您的项目中,并将其导入到相应的视图控制器中。 PassKit has a PKPaymentButton that "returns a button instance with the Apple Pay Logo". PassKit有一个PKPaymentButton,它“返回带有Apple Pay徽标的按钮实例”。

You can use the documentation to setup the corresponding functionality. 您可以使用文档来设置相应的功能。 It should be pretty straight forward, but let me know if you have questions. 这应该很简单,但是如果您有任何疑问,请告诉我。 I hope this helps! 我希望这有帮助!

iOS 的iOS

PKPaymentButton : https://developer.apple.com/reference/passkit/pkpaymentbutton PKPaymentButtonhttps : //developer.apple.com/reference/passkit/pkpaymentbutton

PassKit : https://developer.apple.com/reference/passkit PassKithttps : //developer.apple.com/reference/passkit

Safari 苹果浏览器

For the web, you will use Apple Pay JS . 对于网络,您将使用Apple Pay JS From there, you will use the ApplePaySession class to handle payments. 从那里,您将使用ApplePaySession类来处理付款。 Within the ApplePaySession class, you will see documentation on how to display different Apple Pay buttons using HTML and CSS. 在ApplePaySession类中,您将看到有关如何使用HTML和CSS显示不同的Apple Pay按钮的文档。 You can also use openPaymentSetup to display a setup Apple Pay button. 您还可以使用openPaymentSetup显示设置Apple Pay按钮。

Apple Pay JS : https://developer.apple.com/reference/applepayjs Apple Pay JShttps//developer.apple.com/reference/applepayjs

ApplePaySession : https://developer.apple.com/reference/applepayjs/applepaysession ApplePaySessionhttps : //developer.apple.com/reference/applepayjs/applepaysession

openPaymentSetup : https://developer.apple.com/reference/applepayjs/applepaysession/2710269-openpaymentsetup openPaymentSetuphttps : //developer.apple.com/reference/applepayjs/applepaysession/2710269-openpaymentsetup

Read the documentation and it should all be right there. 阅读文档,它应该都在那里。 Hope this works for you! 希望这对您有用!

可以在ApplePaySession.openPaymentSetup函数的文档中找到“设置(Apple)付款”按钮的ApplePaySession.openPaymentSetuphttps : //developer.apple.com/reference/applepayjs/applepaysession/2710269-openpaymentsetup

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

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