issues with notify_url in paypal - paypal

I am a developer and we have paypal payment sytem integrated with our shop since long.
We have implemented the notify_url paramter in checkout code and was working fine since 4 months back. But now we could see that when a payment is done, we are not notified via the notify_url we specified. But however if we check the url via the IPN simulator, we can see everythign works as expected, but not not notifying automatically when payment is done .
What could be the issue or what all do we need to cross check for this issue to be solved

Did you received any 'PayPal Instant Payment Notification Warning' email from PayPal? This email could be telling you that there's an issue with your IPN URL when PayPal trying to post back the notification to your server, and that could be the reason you didn't receive the notification message from PayPal.
Otherwise, I would recommend you to contact PayPal technical support via https://www.paypal-techsupport.com/app/ask and providing the detail of your PayPal account for them to troubleshoot on this issue.

Related

After modifying the PayPal IPN URL, still using old IPN listener URL for some notifications

I'm working on a project which has PayPal integration. We have two PayPal accounts for payment and choose the PayPal account based on the type of users. We previously had two IPN listeners for the two different PayPal accounts. Previously our IPN was pointed to "https://www.old-domain1.com/paypal/ipnhandler" and "https://www.old-domain2.com/paypal/ipnhandler". Yesterday we have updated two websites into one and we started to use a common IPN to this address "https://www.new-domain.com/paypalipn/paypal/IpnHandler" to the new project.
We have added the common IPN URL on both PayPal accounts. But we could see PayPal is still sending the IPN to the old IPN handler for the old recurring payment. Our old IPN handler URLs are not currently working and we don't have the option to update the payment if PayPal is still sending the notification to the old URL. For some users, it worked correctly. For some users PayPal still using the old IPN URL. Why does this happen?
Now we have one IPN listener for two different PayPal accounts. Is this related to the problem?
If a URL was specified as part of setting up the transaction (i.e. by the software/site when the user was redirected to PayPal), that transaction-level specification supersedes any setting in the PayPal account. It is now set in stone for anything related to that transaction/recurring profile, and cannot be changed.

PayPal IPN Delivery Status set to Disabled

We are a 3rd party online marketplace. We connect buyers and sellers. Our IPN notify_url has been running for years with no problems. One of our sellers has been receiving PayPal payments from a buyer for their goods but we have not been receiving the IPN callbacks.
We asked the seller to check their IPN history and it is showing that the callbacks to our notify_url are Delivery Status= Disabled.
The sellers PayPal account is OK
Our notify_url is OK
I realise there is the IPN Settings page at https://www.paypal.com/cgi-bin/webscr?cmd=_profile-ipn-notify-edit where a hardcoded URL can be set and IPN messages can be switched to ON.... but our notify_url is fed via the form data at checkout. This option is set set OFF by default and we have tens of thousands of users still receiving IPN callbacks ok to our notify_url with the default setting && POSTed notify_url so the problem won't be there.
Any idea why they are disabled and how to get them re-enabled for this seller.
IPN function can be disabled due to below reasons:
1. PayPal failed to send IPN message to this merchant's IPN URL, after 100 times failure, IPN function is disabled by PayPal.
2. Merchant disable IPN function manually.
Merchant can enable IPN function in https://www.paypal.com/cgi-bin/webscr?cmd=_profile-ipn-notify-edit .
For those like me who found very useful this reply I just want to add: do not waste hours trying to figure out how to locate that page in the new paypal's interface.
I've asked to PP support how to locate it and they just told me to type the following link in the nav bar.
https://www.paypal.com/it/cgi-bin/webscr?cmd=_profile-display-handler&tab_id=SELLER_PREFERENCES
You actually have to save the url to your library in order to get back.

Paypal IPN not working on another paypal account

We have this website that was running since September 2013 and relying on paypal IPN for user registration. However, this week we got a report from the client where 3 users was able to pay through paypal but was not registered into the site.
We temporary changed the paypal email('business' field) from the client's to another paypal account. Went through the process of registration and the IPN was successfully delivered. The user was created in the system, the IPN transaction was logged into our system. When we tried to changed it back to the client's paypal email account, but unfortunately the IPN did not reached through our system.
Here are some questions that I have in mind
Does the type of paypal account (ie. business or personal account) matter when sending and receiving IPNs? Could this be a possibility? (even though last year it was working perfectly fine with the client's paypal account)
We've been receiving this paypal email (below) for the past months. That email was appearing after a few months when we opened the site and we didn't even changed a single code from our IPN listener. Could this be the reason why the IPN was not sent when we use the client's paypal account? However, we always use the notify_url field since we have multiple IPN listeners.
>Please check your server that handles PayPal Instant Payment
>Notifications (IPN). IPNs sent to the following URL(s) are failing:
>
>http://<site>/payment/postback/
>
>If you do not recognize this URL, you may be using a service provider
>that is using IPN on your behalf. Please contact your service provider
>with the above information. If this problem continues, IPNs may be
>disabled for your account.
thanks,
Your IPN script is not completing successfully, so PayPal's server is not getting a 200 result back, which causes it to send repeat IPN's and will eventually disable itself as the message says.
Your web server logs should provide the info you need. Check there to see the history of the IPN script getting hit and you'll probably find some 500 results. Those should also provide the actual error that happened so you can get it resolved.
It's possible that some IPN's are working just fine but others are failing based on certain characters in payer information or other similar issues. You need to get all of that worked out in your IPN script so it can handle anything thrown at it.

Not Receiving PayPal IPN With Invoicing API

On the introduction of PayPal Invoicing API documentation it states that.
PayPal sends IPN messages for invoice payments and for invoices
cancelled by the buyer.
But I've found this is not the case. IPN for invoice payment, cancel or other operation never get sent from PayPal (I have checked and confirmed it from IPN history page).
Worth Mentioning
Invoices are being created via Invoicing API successfully without any warning.
I am working on Sandbox and Creating for Third Party Merchant.
I do understand that paypal doesn't send IPN for api operation changes.
The IPN listener is working fine and I have successful implementation for subscription api with IPN.
Update
Today I tried the whole process with Live PayPal account other than sandbox account and I still not getting any IPN. So, I guess I am doing something wrong or Invoicing API is broken (which I highly doubt).
Which also makes me wonder about some additional questions:
I (merchant #1) has the permission information form merchant #2 for sending invoice to their behalf.
I have setup IPN to my IPN listener URL.
merchant #2 do not have IPN setup to my listener URL.
So, when Invoice that I created for merchant #2, Do I get IPN?
OR, merchant #2 also needs to setup their IPN url pointing to my listener URL?
IPN is get send from the account that receiving payment as #effone mentioned in comment. So, it seems I was confused from paypal documentation.
Answer: The IPN url from merchant #2 will need to setup in order to get notification about invoice payment. merchant #1 account who sending the invoice behalf of merchant #2 will not send any IPN as the payment isn't involves merchant #1
Way I see it, this is not a proper solution to create an invoice management system. As if I have 1000's of user they all need to set their IPN url to mine in order to get the application work correctly (aka, setting invoices as paid when they gets paid)
Your question reads strangely, because you say the IPN is working fine, then in your update, you say you're trying it in your live PayPal account. It sounds like it's working on the Sandbox, but not in production?
If this is the case:
Did you activate the IPN under your Production (Live) Paypal account?
Do you have the IPN URL for this?
Are you seeing the IPN being logged under the Production (Live) PayPal site?
If No -> it's been a while since I've worked with this, but there used to be an interface where you could send an IPN test- have you tried that?
If Yes -> make a bare bones listener- just a page that logs that it was hit, then add logic to it.
hth

PayPal IPN Failing

I got an email from paypal saying:
>Hello <>,
>Please check your server that handles PayPal Instant Payment
>Notifications (IPN). IPNs sent to the following URL(s) are failing:
>
>url--
>
>If you do not recognize this URL, you may be using a service provider
>that is using IPN on your behalf. Please contact your service provider
>with the above information. If this problem continues, IPNs may be
>disabled for your account.
>
>Thank you for your prompt attention to this issue.
>
>
>Thanks,
>
>PayPal
Is anyone familiar with this? We got 1 payment that made through today, it updated the database and all but still I am concern if this email will be a threat to our website.
I tested the IPN url using the IPN stimulator and it worked fine. Should I need to change my IPN setting? Some forums are saying to turn off the IPN notifications. Should I assume that this is coming from the server refusing to accept the Paypal IPN? I'm so confused on what to do with this problem, let alone my client also knows.
I checked my site error logs but I couldn't find any new errors related to the my paypal IPN listener.
thanks,
If the warning message you are receiving is showing "url--", you may want to double check:
- the value set up in your PayPal Profile > Instant Payment Notification
- or the value you have inserted in your integration in the variable "notify_url" (if you are using Website Payment Standard or "PAYMENTREQUEST_n_NOTIFYURL" (if you are using API).
When you receive an IPN warning message, I'd recommend to check your IPN history (in your PayPal account) to check what is the HTTP response that your server is returning to PayPal.
You can test your IPN listener here
Find IPN overview here