Shouldnt testing IPN take money from my Paypal sandbox account? - paypal-ipn

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

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/

This recipient does not accept payments denominated in INR

I am integrating the Paypal payment gateway using a Paypal sandbox account (in India).
Everything is working fine: the URL is building properly and redirecting to the Paypal sandbox account and it's login successfully. However, after login it gives me the following error when I am trying to pay:
This recipient does not accept payments denominated in INR. Please contact the seller and ask him to update his Payment Receiving Preferences to accept this currency.
If I pay in USD currency, it gives me this error:
I've suffered from the same problem at same time as yours; it's my personal thinking that it might happened due to some economic changes in India. If you are making project for Indian public, then my advice is to go for some other payment integration options like Instamojo, Razorpay. They are doing far better than paypal.

Why PayPal Request can’t be processed?

I’m trying to test recurring payment in my paypal sandbox account. I followed this link https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec-recurringPaymentProfile-curl-etc/
I have summarized the steps what I follow
Step 1: Get PayPal Token – Completed
Step 2: Redirect customer to PayPal with Token
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=xxxxxxxx
After I send the request, paypal show the following page
After I entered the sandbox buyer account details, paypal display error message like “Currently, we unfortunately can not process your request. Return to Logical IT Solution GmbH and select another option.”
I have tried So many times, PayPal show this message only.
How can I implement recurring payment for my sandbox account without error?
You test German paypal account? If yes than Paypal recurring payments does not work with German accounts or at least not with all of them. This is some legal problem and that's why they disabled it.
Probably German law refuse to store recurring payments data on foreign servers.

How to check Payment failure for Paypal Express Checkout

We are using Paypal recurring billing service (using Express Checkout) at our website for monthly subscription.
Since we have an Australian account so we are not able use the DPRP (Direct Payment Recurring Payment) service offered by Paypal because it seems, DPRP service is limited
to only few countries (US, UK and Canada).
In Express checkout payment details are received at Paypal Website. So we do not have any information, whether the payment failed, user pressed the Back button in browser or He/She intentionally clicked the cancel payment.
After speaking to Paypal support team we get know that there could be multiple possible reason for Payment failure, and seller has to contact Paypal by themself. So we can
not provide any troubleshooting for that at our website.
So we want to know, Is there any possible solution to avoid this or atleast can we diffrentiate between the user for whom payment failed and who intentionally moved to
our website back without doing payment because this way we are not only unable to followup with them but also loosing a part of the customer base, interested in our service.
Any help in this is Appreciated.
Thanks
You should implement the Pay Pal IPN (Instant Payment Notification).
You configure the IPN url address on your PayPal merchant account settings. This page is simple HTML page with server-side programming that is listening for requests coming from PayPal.
There's no need to do something extra in the checkout process for making IPN work. Once you set this up, it will automatically work.
Every time something happens with a transaction in your merchant account, e.g. transaction completed/failed/canceled, PayPal will send an HTTP Post to your IPN listener URL.
Here you can get all the relevant information about the transaction, like the payer ID, the payment status. With this information you can decide what to do with your customer's order.

Oscommerce PayPal IPN still Status pending

I'm working with oscommerce and i have problem with Paypal ipn When someone makes a payment, even though the money is coming through OK, on the backend of the website it is saying it is unverified
something like that
: PayPal IPN Verified [Completed (Unverified; $99.90).
I get the email "Notification of payment received" so why is it still pending?
any idea?
Thanks in advance
The "Unverified" there may mean the buyer has not finished the Paypal account/address verification process.
This information is included in the variable payer_status:
Possible Values
verified Customer has a Verified PayPal account.
unverified Customer has an Unverified PayPal account.
Details: https://cms.paypal.com/cms_content/en_US/files/developer/PP_OrderMgmt_IntegrationGuide.pdf
page 52