do direct payment api: no response from paypal sandbox - paypal

I'm using the codeigniter library from angelleye's library (http://www.angelleye.com/download-codeigniter-php-library-for-paypal-payments-pro/).
For a few days, it worked smoothly without any errors. Today when I tested it I got no response from paypal.
I contacted the author(Andrew), and he said that the paypal sandbox server is timing out with the do direct payment.
My question is, how do I fix this?

The PayPal sandbox does that at times, and unfortunately there's nothing we can do about it but wait on PayPal to get things working smoothly.
The sandbox has been running great for awhile now, but it seems that with many of the recent changes they're making (they're working on a new sandbox, and they're pushing PayFlow more than DirectPayment now) the DirectPayment API on the sandbox has been suffering.
In fact, just now I was about to respond and let you know that last time I tried it was working fine. I went to test it and sure enough, it timed out again. I tried again, though, and it worked fine. So unfortunately, the sandbox is just pretty hit and miss these days with DirectPayment.
You could always switch to PayFlow, which is what they're pushing these days, and my library supports it now if you have the latest version.

Related

Having trouble completing paypal payin3 transaction

I have integrated paypal payin3 (paylater) option on my website. I am testing it on sandbox when I try to complete the process at the end it shows an error which I am not able to fix despite I spent many hours to fix it. Anyone has an idea how to fix it. see the below image
Appears to be a sandbox problem. If the PayPal page is opening normally and regular PayPal payments work (not selecting Pay in 3), then there's nothing more you need to do.

Paypal - woocommerce - sandbox working by intermitence

we have a strange problem here on our paypal payment gateway on woocommerce.
The paypal stopped working and all orders gets cancelled. We upgraded everything (woocommerce, plugins, etc). Nothing worked as before.
So we tryed to debug via the sandbox. And here there is a strange behaviour. When we make an order and click on checkout with paypal, the first time we have a error 500 from the paypal server. Then if we click on back from the browser and try again it works perfectly.
Anyone has already faced this issue ?
Thank you for your help,
RF
Cookies and cache from the browser, then it works.

PayPal Sandbox does not send IPN's

I am having trouble testing IPN with Sandbox.  I have been testing my setup with the IPN Simulator and that works very well. However when I make a test transaction using the Sandbox I get no output.  I have looked in the IPN history and there is nothing shown there.  I have also checked my url's.
I am new to this aspect of PayPal so there may well be something I'm missing. Any help would be much appreciated.

PayPal Adaptive Payments login fails

My website uses the PayPal Adaptive Payments API with the Embedded Payments flow and simple payments. On my checkout page I execute a Pay API call, receive successful response, then call SetPaymentOptions and again get successful response. The customer then reviews the order form and upon confirmation of the order is redirected to https://www.paypal.com/webapps/adaptivepayment/flow/pay in the PPDGFrame iFrame with expType set to "light" and the paykey received from the Pay API call.
I have successfully tested it in a sandbox and rolled it out to production. The application worked great for a day or two and then stopped working, with buyers now receiving a "Please try again later" error when trying to login. I am still getting successful responses on both the Pay and the SetPaymentOptions API calls and the customer is successfully redirected to the PayPal login screen. The customer enters the login credentials, clicks the Login button and a couple seconds later gets the "Please try again later" message.
Now here are some really odd behaviours if I've ever seen odd... This problem first appeared about 4 days ago. Since PayPal advised me that it will take them "several weeks" to get back to me, I have tried the checkout again two days ago and experienced the same problem. I have then tried a guest checkout and it worked! Next I tried a regular user checkout and it was successful as well so I thought to myself that the problem has somehow resolved itself.
Yesterday morning I tried the checkout again, and got the same problem as before. Again I tried to checkout as guest, which again was successful, and then immediately after I have tried regular checkout and again this time I was able to login successfully.
Today the flow is broken again. What gives? Nothing is changing on my site. Why does it sometimes work and sometimes doesn't, and how is it that a guest checkout seems to be able to temporarily resolve the issue?
The problem has been resolved with no action on my part and no change to the website or application code. After a couple weeks of the API simply not working, it started working intermittently with gradually improving success rate while my support ticket with PayPal was sitting in a "Waiting" status. I was told that the "engineering team" is waiting for a server code roll-out. The intermittent nature of the problem and a gradually improving situation suggests that PayPal was rolling out a fix to their servers in a staged approach and outcome of the API operation depended on which server the PayPal load balancer happened to send the request to. After about a week of that, the problem was resolved completely. PayPal of course maintains that they have not made any server changes.

Can fraud activity cause an IPN script to fail?

Payments from my website continue to be logged on paypal.com, but the IPN script is not processing those transactions in my database. Members who have upgraded are complaining that they are not getting access to the paid features. The odd thing is, I have not touched the IPN script, written in PHP, for months! I'm baffled as to why it suddenly stopped working, so are the tech support boys at Paypal. I'm convinced it has something to do with the fraud that took place on my merchant account this past weekend, but Paypal denies it. When I alerted them of fraud activity on my account, they rightfully deactivated my paypal debit card. It was around that time that my IPN script stopped working.
Any ideas on what is happening behind the scenes here? I can understand if I was messing with the code recently, but I wasn't.
Thanks!
Apparently it was paypal's fault once again. Late in the afternoon the whole process started working again, without me editing the IPN script at all.