Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set an IPN URL for PayPal Recurring Payments using ExpressCheckout?

According to the PayPal documentation, it is not possible to have Instant Payment Notifications (IPN) for Recurring Payments when using ExpressCheckout.

Here is how I come up with that conclusion:

  1. In the SetExpressCheckout documenation for NOTIFYURL they say:

    The notify URL applies only to DoExpressCheckoutPayment. This value is ignored when set in SetExpressCheckout or GetExpressCheckoutDetails.

  2. I don't have a one-time payment with ExpressCheckout. I am just creating a recurring profile. So I am skipping the DoExpressCheckoutPayment call like it is specified in the Recurring Payments integration guide. Actually if I however do the DoExpressCheckoutPayment call it would not be valid, because I have set the amount to 0.

  3. According to 1. the NOTIFYURL (to be precise PAYMENTREQUEST_0_NOTIFYURL) would be ignored unless a DoExpressCheckoutPayment is called. However I have tried to set it in the SetExpressCheckoutPayment call.

  4. Using the IPN simulator I am successfully receiving IPN notifications.

  5. When successfully creating a new Recurring Payments profile using CreateRecurringPaymentsProfile I am not receiving an IPN notification.

  6. I did not find an API call related to the Recurring Payments which I can use to set a NOTIFYURL.

How can I set up an IPN URL for Recurring Payments using ExpressCheckout without an initial payment, INITAMT or other requiring DoExpressCheckoutPayment?

like image 812
Haralan Dobrev Avatar asked May 10 '13 13:05

Haralan Dobrev


People also ask

How do I find my PayPal IPN URL?

Click the settings icon at the top of your PayPal account page and then click Account Settings. On the Notifications page, click the Update link for the Instant payment notifications item. Click Choose IPN Settings to specify your listener's URL and activate the listener.

Can you set up a recurring payment through PayPal?

Organise recurring payments with easeUse PayPal Automatic Payments to pay and manage all your recurring bills, monthly subscriptions and even instalment plans, all in one place. Use PayPal Automatic Payments to pay and manage all your recurring bills, monthly subscriptions and even instalment plans, all in one place.

What is IPN URL?

IPN stands for Instant Payment Notification . When a transaction is created or its status changes, our servers issue an IPN calling a Notification URL located on your servers. This allows you to be notified in real time about the changes that affected the transaction.

How do I fix PayPal Instant Payment Notification IPN?

Step 1: In your PayPal Account, go to my account –> profile – my setting tools – instant payment notifications – update – choose IPN settings. Step 2: Paste the notification URL given and enable the option “* Recive IPN messages”.


1 Answers

You can set the IPN URL in your PayPal account, under your profile.

like image 65
PP_MTS_Chad Avatar answered Sep 18 '22 04:09

PP_MTS_Chad