首页 文章

Stripe Checkout无法在Firefox中运行

提问于
浏览
0

我已经通过PHP Library在我的Wordpress网站上集成了Stripe Checkout .

一切都很好,但在Firefox中Stripe iFrame会引发错误:

“安全政策:指令'frame-src'已被弃用 . ”

这就是外部iFrame的样子

<iframe
   allowtransparency="true"
   style="
      z-index: 2147483647;
      display: none;
      background: rgba(0, 0, 0, 0.004) none repeat scroll 0% 0%;
      border: 0px none transparent;
      overflow-x: hidden;
      overflow-y: auto;
      visibility: visible;
      margin: 0px;
      padding: 0px;
      position: fixed;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
   "
   src="https://checkout.stripe.com/m/v3/index-af884f1198ee56a57968.html?distinct_id=3cc4aac1-0c17-892b-6ce9-340ee07ea9b2"
   name="stripe_checkout_app"
   class="stripe_checkout_app"
   frameborder="0"
>
...
</iframe>

1 回答

相关问题