2

我正在使用自适应支付的链式方法:参数是这样的:

$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 作为框架。

4

1 回答 1

0

您的帐户中是否打开了 IPN?应该在个人资料 -> 我的销售工具 -> 即时付款通知下。

确保此功能已打开。

如果是,请联系http://www.paypal.com/mts并要求他们查看 IPN 历史记录,看看他们是否可以找到任何无法正常工作的原因。

于 2013-02-11T22:35:44.530 回答