cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal's Agreement API not sending notification on payments

naifamoodi
Contributor

PayPal's Agreement API not sending notification on payments

I am trying to set up recurring payments for licenses using PHP.

 

I am using PayPal's Agreement API. Everything "seems" to be working correctly. I am in sandbox mode and I am being redirected to the ReturnURL successfully. However, I am not receiving notifications for the payments made.

 

The system is going to be set up to receive payment notifications on a monthly basis. Upon receipt of this notification, the license will be extended.

I have set the MerchantPreferences to:

 

$merchant_preferences->setReturnUrl($base_url . '/customers/payments/paypal/?dlms-status=success')
->setCancelUrl($base_url . '/customers/payments/paypal/?dlms-status=cancelled')
->setNotifyUrl($base_url . '/paypal.php')
->setAutoBillAmount('yes')
->setInitialFailAmountAction('CONTINUE')
->setMaxFailAttempts('0');


Nothing is being posted by PayPal to https://www.example.com/paypal.php

 

Can someone please tell me the reason?

 

Thanks!

1 REPLY 1
duranseo
New Community Member

Re: PayPal's Agreement API not sending notification on payments

Hi

I am actually having the same issue