繁体   English   中英

我正在使用 Smart Subscriber 按钮并使用 customid 参数,但没有得到回报

[英]I am using the Smart Subscriber button and using customid parameter, but not getting in return

这是沙盒环境中我的 PayPal 智能订阅按钮脚本的一部分。 我正在使用“custom_id”参数进行标识,但没有在 IPN 侦听器中接收返回。

createSubscription: function(data, actions) {
    return actions.subscription.create({
    /* Creates the subscription */
    plan_id: 'P-PlanId',
    quantity: 5,    
    custom_id:101
    
    });

你为什么使用IPN? 这是一项非常古老且笨拙的服务,比当前订阅 API 的存在早了约 20 年。

对于当前的订阅集成, 请使用 Webhooks。 PAYMENT.SALE.COMPLETED 事件特别有趣。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM