我正在使用自适应支付的链式方法:参数是这样的:
$bodyparams = array("requestEnvelope.errorLanguage" => "en_US",
"actionType" => "PAY",
"currencyCode" => "USD",
"cancelUrl" => "www.example.com/courses/cancelPurchase/",
"returnUrl" => "www.example.com/courses/buyCourse/" . $courseId . "/" . $courseDetails['Course']['certificate_amount'],
"receiverList.receiver(0).email" => $adminDetails['paypal_email'],
"receiverList.receiver(0).amount" => round($courseDetails['Course']['certificate_amount'], 2),
"receiverList.receiver(0).primary" => "true",
"receiverList.receiver(1).email" => $courseDetails['UsersRole']['User']['paypal_email'],
"receiverList.receiver(1).amount" => $courseCreatorAmount,
"receiverList.receiver(1).primary" => "false",
"ipnNotificationUrl" => "www.example.com/courses/ipnReturn",
);
在这里,我没有得到任何关于ipnNotificationUrl提供的数据。似乎从贝宝返回后,它根本没有点击这个网址。
请帮忙!!
仅供参考:我使用 cakephp 作为框架。