我正在使用自适应支付的链式方法: params是这样的:
$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 的任何数据。 似乎从paypal返回后它根本没有打到这个网址。
请帮助!!
仅供参考:我使用cakephp作为框架。
答案 0 :(得分:0)
您是否在帐户中启用了IPN?应该在Profile - >下我的销售工具 - >即时付款通知。
确保已启用此功能。
如果是,请联系http://www.paypal.com/mts并要求他们查看IPN历史记录,看看他们是否能找到任何原因导致其无法正常运作。