I am using chained method of adaptive payment:
params are like this:
$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",
);
Here I am not getting any data on ipnNotificationUrl provided.
It seems that after returning from paypal it is not at all hitting this url.
Please help!!
FYI: I am using cakephp as framework.
Do you have IPN’s turned on in the account? Should be under Profile -> My Selling Tools -> Instant Payment Notifications.
Make sure this is turned on.
If it is, contact http://www.paypal.com/mts and ask them to look at the IPN history and see if there they can find any reason why this is not working properly.