我正在使用PayPal-PHP-SDK访问 PayPal API。
我需要一个“数量(用户或席位)定价计划”,我正在遵循本指南:https : //developer.paypal.com/docs/subscriptions/integrate/。指南中的步骤包括这些 API 端点:
/v1/catalogs/products
/v1/billing/plans
/v1/billing/subscriptions
Run Code Online (Sandbox Code Playgroud)
我只找到了如何/v1/billing/plans
使用 SDK创建计划(),但我不知道如何添加参数:"quantity_supported": true
我没有找到任何示例/样本/v1/catalogs/products
, /v1/billing/subscriptions
可以用当前的 PayPal-PHP-SDK 完成吗?
我们已经在http://paypal.github.io/PayPal-PHP-SDK/sample/上解释了我们网站上的"计费方案和协议" .
我们已经实施了每周定期付款,只想通过API取消结算协议.