当按钮位于顶级文档时,我有苹果支付网络工作。不幸的是,当在 iframe 中打开时,它会抛出以下错误:
Trying to call an ApplePaySession API from a document with an different security origin than its top-level frame.
stripe-payments applepay
applepay ×1
stripe-payments ×1