PayPal's Agreement API not sending notification on payments

naifamoodi
Contributor
Contributor

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!

Login to Me Too
1 REPLY 1

duranseo
New Community Member

Hi

I am actually having the same issue

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.