IPN response in sandbox transaction? - paypal

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 ...

Related

PayPal IPN empty when buying by card

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/

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.

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.

WP e-commerce: Paypal Express checkout not working with Paypal IPN

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!!

Shouldnt testing IPN take money from my Paypal sandbox account?

Im trying to set up a PayPal IPN system on my site, but I try to test it in the PayPal sandbox, I think it's not working fine.
I've got a developer account in the sandbox. I've created 2 accounts: buyer and seller. I use the IPN simulator to send a POST request to my page. The request seems just fine, but when I login into the sandbox seller account, the amount of money didnt change. If I login with the buyer account, the amount didnt change either. Shouldnt they change according with the IPN purchase I just simulate?
Also, if I go to IPN record in the paypal account, it's empty.
If I send back the request to PayPal to verify it, I get: VERIFIED from PayPal, so it seems correct.
I post here the POST request Im getting from PayPal:
cmd=_notify-validate
test_ipn=1
payment_type=instant
payment_date=10%3A21%3A42+Apr+03%2C+2011+PDT
payment_status=Completed
address_status=confirmed
payer_status=verified
first_name=John
last_name=Smith
payer_email=buyer_1301850921_per%40my_email.net
payer_id=TESTBUYERID01
address_name=John+Smith
address_country=United+States
address_country_code=US
address_zip=95131
address_state=CA
address_city=San+Jose
address_street=123%2C+any+street
business=seller_1301846568_biz%40my_email.net
receiver_email=seller_1301846568_biz%40my_email.net
receiver_id=M3PZFZDNE3HKU
residence_country=US
item_name=something
item_number=AK-1234
quantity=1
shipping=3.04
tax=2.02
mc_currency=EUR
mc_fee=0
mc_gross=15
mc_gross_1=10
txn_type=web_accept
txn_id=42431721
notify_version=2.1
custom=Los+23+pinos
charset=windows-1252
verify_sign=AGJ1AjjJzH2s7fC2Gg3c.JDtZCK1A.hF6JlaXSYSYzM-krKKk.SLx50l
IPN is not a transactional functionality. It merely allows PayPal to send you a POST with transaction data whenever a transaction has been made.
If you're looking to transfer funds, you'd be looking at either Website Payments Standard, Express Checkout, Website Payments Pro, Paflow Link, Payflow Pro or Adaptive Payments.
I found out that IPN does NOT simulate the transfer of funds, so if you want to test it you need to point your checkout form to the sandbox URL