【发布时间】:2014-07-29 20:47:25
【问题描述】:
我在paypal SetExpressCheckout的订单页面中的金额和添加初始金额有问题。
目前我有这个代码:
$nvpstr="&AMT=". $paymentAmount;
$nvpstr = $nvpstr . "&PAYMENTACTION=" . $paymentType;
$nvpstr = $nvpstr . "&BILLINGAGREEMENTDESCRIPTION=".urlencode("Test Recurring Payment($1 monthly)");
$nvpstr = $nvpstr . "&BILLINGTYPE=RecurringPayments";
$nvpstr = $nvpstr . "&RETURNURL=" . $returnURL;
$nvpstr = $nvpstr . "&CANCELURL=" . $cancelURL;
$nvpstr = $nvpstr . "&CURRENCYCODE=" . $currencyCodeType;
我从这里得到这个代码:https://github.com/hrendoh/PayPal-Recurring-Payment-example
我已经尝试在 paypal 文档中添加一个,但仍然没有运气。 有人可以建议或告诉我如何添加此定期付款的金额和初始金额。
提前致谢!
【问题讨论】:
-
您找到解决方案了吗?我正在 java 中寻找同样的东西。
标签: php paypal recurring-billing