Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以通过 PHP 创建私钥和公共证书?
因为我们购物车中的交易金额可能很高,而且 PayPal 要求在付款按钮中创建一个私钥和公共证书。这些是 .pem 文件,我没有要创建的代码。
我不知道该怎么做?
提前致谢。
您可以使用 openssl 生成私钥和公钥。在 Paypal 上查看此文档。按照步骤使用加密付款设置您的企业帐户。
此外,当我不得不设置结帐页面时,我曾经使用您使用 PHP 生成的密钥来生成加密按钮。