我需要使用 PHP 实现 PayPal 并阅读他们的(不透明的)文档以及大量教程和 YouTube 视频。
但我不明白的是:是否需要 checkout.js? 我找不到任何使用 checkout.js 的教程……没有人在使用这个脚本,所有的都只是 PHP。 最受欢迎的链接是 https://www.sanwebe.com/2012/07/paypal-expresscheckout-with-php或 http://code-epicenter.com/how-to-integrate-your-website-with-paypal-using-php/
更令人困惑的是,我不知道 PayPal Express === checkout.js 是什么?因为我看到其他脚本调用函数,如 doExpressCheckout() ......所以我认为你可以在没有 checkout.js 的情况下使用 PP Express?
最佳答案
这不是必需的,但它是推荐的集成。 Checkout.js 将负责呈现 PayPal 按钮并让买家在结账时保持在同一页面上。
关于javascript - 需要 PayPal Express : is checkout. js?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42747408/