New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
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!