我正在尝试实现 ApplePay,但我的服务器 api 要求我发送账单地址。有没有办法提取我在 apple pay 屏幕出现时输入的账单地址?任何帮助,将不胜感激。
最佳答案
这是 PKPayment 中的一个属性.来自 Apple developer site 的引用.
To initiate a payment, your app creates a payment request. This request includes the subtotal for the services and goods purchased, as well as any additional charges for tax, shipping, or discounts. Pass this request to a payment authorization view controller, which displays the request to the user and prompts for any needed information, such as a shipping or billing address.
我可以推荐您阅读上面的这两个链接。
关于ios - 如何从苹果支付中提取账单地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34323665/