Using paypal IPN sample code but it doesnt work - paypal

I'm trying to setup Paypal IPN for my Skype bot but I can't get it to work. I am using the Paypal sample code found here: https://github.com/paypal/ipn-code-samples/blob/master/paypal_ipn.php but I keep on getting We could not send an IPN due to an HTTP error: 500: Internal Server Error from Paypal's IPN simulator.
I really need help with this. I'm not good with PHP.

Related

Why am I getting a 500 Error when using PayPal uses IPN to WooCommerce?

I'm using WooCommerce version 3.3.5 and I'm trying to get the IPN to work so that my orders get updated.
I added https://example.com/?wc-api=WC_Gateway_Paypal as my notification URL in PayPal.
I'm currently getting a 500 error "PayPal IPN Request Failure" when the order is processed.
What am I doing wrong or what do I have to do to fix this problem.
Thanks in Advance

Getting Error on PayPal PAYEE_ACCOUNT_LOCKED_OR_CLOSED

I have implemented Paypal API in my ASP.net MVC application and I have tested it using the live api key,
At the time of payment processing I am getting an error stated
reason=PAYEE_ACCOUNT_LOCKED_OR_CLOSED in the failure URL
This is the page which I am getting
I got the resolution for the issue
It was the account was not completely created from paypal
Thats has been resolved and now the payment is working fine....
Thanks for your response micstr

Instant Payment Notification (IPN) returning Html

We are requesting the following URL "https://securepayments.paypal.com/cgi-bin/acquiringweb" with cmd=_notify-validate to get the notification of VERIFIED or INVALID as per the documentation (https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-info-outside), but we are receiving a completely different response. This causes problems because as a result our system doesn't behave as expected.
Response:
Error Processing Payment Error Message "This transaction can't be
processed. Please pay with another card."
Please help me why I am facing this issue however we are receiving payment successfully and everything was working fine a couple of days ago.
I have found a solution and to make it clear, https://www.paypal.com/cgi-bin/webscr URL is for IPNs and https://securepayments.paypal.com/cgi-bin/acquiringweb is for receiving payments through hosted sole solution(developer.paypal.com/webapps/developer/docs/classic/products/#HSS).
May be PayPal has changed something in their API.

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

Paypal notify url not working showing latest delivery date in 1985?

We are having some problems with paypal:
Notify url and status appears empty in the message details page.
The retry date on the ipn message appears in 1985:
What can we do to fix this, besides get back in time to catch that retry?
Overview:
We use basic payments
We use the notify_url param from a php redirection
it worked perfectly on sandbox and live, until you updated
The paypal ipn transaction shows the correct custom parameter
Server side:
Php + custom framework.
There are currently some issues with IPN, that are being addressed that should resolve this issue once they are fixed. If you would like to be notified once the issue is resolved, you can open up a ticket with PayPal Merchant Technical Support.
user1214454: I have the same problem which I have described here:
https://stackoverflow.com/questions/16174275/why-paypal-does-not-call-my-notify-url-but-on-sandbox-everything-works
I have contacted with PayPal but they said that paypal are sending the IPN messages to my IPN, but they are not being accepted by my IPN, what I think is not true, because when request hit my server e-mail is generated by my script and I know if something hit my server. Besides, as I said in my post in sandbox everything works as expected. I am really frustrated too because my bussiness depends on this.