PayPal IPN fails on Meteor app with new host Modulus.io - paypal

I have a production Meteor app (v0.8.3). It uses the PayPal IPN system, with a server-side route for the IPN (using Iron Router). I was hosting it with Webfaction and the IPN process worked well.
Router.map(function () {
this.route('ipn', {
path: '/ipn',
where: 'server',
action: function() {
if (this.request.method == 'POST') { ... }
}
})
})
I recently moved hosting to Modulus.io. I made no other changes. Now the PayPal IPN URL has stopped receiving all calls from Paypal (both in production and in sandbox).
When I do a manual POST via "curl" to the IPN URL, I get a message telling me it has received a POST, so I know the route is working. But I do not get the message when a payment is made via Paypal.
When I use the IPN simulator, it works fine.
And finally, when I deploy the site to a .meteor.com URL, and change the sandbox PayPal IPN to this URL, it also works fine.
Any suggestions on why the live PayPal IPN doesn't seem to be reaching my production IPN URL? Thanks!

Related

Instant notification for Master Card Payment gateway MiGS

I'm currently integrating our system with MiGS, I received all documentation and example code from Bank,
My issue is that they don't seem to be implementing IPN the same way PayPal does, they only request for a return URL to which the user is redirected after payment, however this URL cannot be used as an IPN listener on our side, simply because if the user closes the browser before being redirected, then our system will Never be notified of the payment,
Any help of how IPN is handled in MiGS?
Ok I just got answer from the bank that MiGS don't support IPN,so if the user closes the browser before being redirected back to our return URL, we can alternatively run Query DR , which would Query the status of the payment

issues with notify_url in 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.

IPN response in sandbox transaction?

Does PayPal provides IPN response during sandbox usage? I create no payment via NVP call, redirect to PayPal site, login, "pay" (in sandbox mode) and go to the return page which I set in my payment call. But there is no ping from PayPal to my IPN address :(
Should it work in sandbox, or users are able to test IPN responses only in production mode?
Thanks for help.
Propably found the solution. I passed in my PayPal URL useraction=commit parameter. When I removed it, and used doexpressCheckoutPayment, everything works fine ...

Why do original paypal IPN (sandbox) requests not get sent to my listener

I've created an IPN listener and have tested it out with the simulator. It works just fine. With one of my sandbox accounts I place an order through my app (using the MPL for this). My IPN listener logs nothing. I login to my sandbox account and look at the ipn history. The IPN has failed, but there is no response code. After 8 retries I am then able to do a manual resubmit. When I do this my listener receives the request just fine.
Why would the original requests fail, but the resubmit works just fine?

Not receiving any IPN post for sandbox account

I'm using sandbox accounts to test SetExpressCheckout and DoExpressCheckout methods. However, I'm not receiving any IPN notifications.
My PC has public IP and firewall is off, so I'm expecting IPN posts but none are coming. Is there anything I should do (e.g. any profile settings) to start receiving IPN? (I'm using the Java SDK and passing the notify_url as parameter)
I'm also checking the "IPN History Page" from PayPal.com and I do not find any data there. Am I supposed to find IPN data in this page even if I use the sandbox accounts?
Thanks for your help
EDIT: I solved the problem by transfering my code to another server. something must have been wrong with my public IP.
Make sure you have IPN enabled in your test Sandbox PayPal account. Also, you will not see IPN messages in your PayPal account if you are going to www.paypal.com. This would only be for live IPN messages sent through your live account. If you are wanting to see the IPN messages for your sandbox transactions, you would need to log into the sandbox seller account and view the IPN messages from there.