MY Paypal IPN code is executed only when payments are made without checking out from the wp e-commerce shopping cart. If payments are made directly through paypal, then my IPN works fine.
However, if payments are made through the wp e-commerce checkouts then my IPN code will not get executed at all.
In my wp setting, I've made sure the followings are done:
my API username, password and signature.
IPN is enabled.
In my paypal account, I've made sure the followings are done:
IPN URL is set and IPN is enabled.
Does anyone have the same problem? I've done a lot of research and I'm still not able to solve this problem. I don't have "Bad Behaviour Plugin" which is suggested by some as the reason to this blocking of execution.
Thank you!!
Related
I have tested a PayPal IPN on sandbox. It works without issue. I tested it using the demo PayPal account. Now I have moved live I cannot test with a PayPal account, as I only have one. So I tried using a card. The payment is successfully made. However, the IPN is empty.
I don't have any PHP errors for the IPN call. The IPN URL defined in Notifications -> Payment Notifications on my live account is correct.
The payment is made using PayPal Smart Checkout: https://developer.paypal.com/docs/checkout/#how-the-buttons-work
Does PayPal not use IPNs when buying by card?
What do you need IPN for? That is a very old service.
Use a server-side integration for the PayPal Checkout. Here's the UI: https://developer.paypal.com/demo/checkout/#/pattern/server
You'll need two corresponding routes on your server, one for 'Set Up Transaction' and one for 'Capture Transaction', documented here: https://developer.paypal.com/docs/checkout/reference/server-integration/
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.
Using ASP Classic
Paypal LIVE Express checkout
It shows the Payment Amount at the checkout, but the payment doesn't go through. The payment doesn't even leave customer's account. I have tried using my wife's paypal account to complete the checkout.
I am only using paypal checkout system and have added all the API information in expresscheckout.asp and paypalfunctions.asp
I have also tried adding these API options too, but still wouldnt work
L_PAYMENTREQUEST_n_NAMEm
L_PAYMENTREQUEST_n_NUMBERm
L_PAYMENTREQUEST_n_AMTm
L_PAYMENTREQUEST_n_QTYm
Any help would be great.... tks
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 ...
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