我正在尝试使用以下代码设置基于订阅的支付
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="notify_url" value="https://example.com/subscribe/ipn">
<input type="hidden" name="custom" value="">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="TY3URFFH8DYDN">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
最佳答案
确保接收帐户在沙盒环境中有一个确认的电子邮件:https://www.sandbox.paypal.com/businessmanage/account/accountOwner
沙箱环境从不发送“真实”电子邮件,因此您无需检查真实电子邮件收件箱即可获得确认消息。相反,转到开发人员“Notifications”选项卡。 (右上角的“登录仪表板”,如果您还没有的话)
(如果您还没有将这个特定的 www.sandbox.paypal.com 帐户导入到您的实时 developer.paypal.com 登录名,请先通过 https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Faccounts%2F 执行此操作 -> 登录门户 -> 使用第一个链接使用沙盒帐户的凭据进行身份验证以链接它的页面。)
关于php - Paypal 沙箱错误: Things doesn't appear to be working at the moment,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59651053/