Questions tagged [paypal-ipn]

Paypal IPN (Instant Payment Notification) is PayPal's push notification service that sends a notification when a transaction is created or has a status change

Paypal Instant Payment Notification (IPN) is PayPal's push notification service that sends a regular HTTPS POST request to a URL you designate in your PayPal account, or when you make certain API calls. PayPal will then notify you when a transaction is created or its status changes (i.e. a dispute is opened).

Common events that can trigger an IPN notice

  • payments
  • Credit Card payments
  • Credit Card disputes
  • PayPal disputes (where PayPal was the payment method)
  • Dispute settlement
  • echeck payment clearance (a PayPal payment status change)

Related Tags

Useful links:

2729 questions
12
votes
5 answers

Is there any sample for PayPal IPN

I have an Asp.Net WEB API 2 project and I would like to implement an Instant Payment Notification (IPN) listener controller. I can't find any example and nuget package. All I need is to acknowledge that the user paid with the standard html button…
Marc
  • 16,170
  • 20
  • 76
  • 119
12
votes
1 answer

Do you need to use IPN with express checkout to confirm PayPal payments?

When I use the Checkout express API calls do I need to have an IPN listener to confirm payment? Some places give the idea that once I receive a response from DoExpressCheckoutPayment the payment has gone through and I can take action - update the…
cmann
  • 1,920
  • 4
  • 21
  • 33
12
votes
1 answer

What POST serialization issues does PayPal PHP IPN example refer to?

PayPal's sample code for a PHP IPN listener has this comment/code at the top: // reading posted data from directly from $_POST causes serialization // issues with array data in POST // reading raw POST data from input stream instead.…
Jason Taylor
  • 2,237
  • 2
  • 16
  • 17
11
votes
1 answer

Paypal IPN Listener for ASP.NET MVC

There is quite a few code samples on PayPal GitHub showing how to implement IPN listener in various languages (php, VB, ...). However, there is none for the ASP.NET MVC. Has anybody successfully implemented it? Or is there, similarly to the other…
Omu
  • 69,856
  • 92
  • 277
  • 407
11
votes
2 answers

Detecting Paypal Subscription Cancellation

I have written a simple paypal subscription system, where a user can enter their information, click the button, and start a subscription. Im wondering how I can find out when the user cancels the subscription though? I have seen $txn_type…
user470760
11
votes
9 answers

Paypal SandBox IPN always returns INVALID

As mentioned in one of the comments in an answer below, I tried following this tutorial. So now I have the following: The ipn.php file:
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
11
votes
3 answers

Paypal IPN process more than one custom variable

So I've implemented paypal IPN in my site and I'm in the middle of the work process. Now I want to use more than 1 custom variable in the pp form currently I'm using this one only
inrob
  • 4,969
  • 11
  • 38
  • 51
11
votes
3 answers

paypal express checkout recurring profile start date

We are using paypal recurring payments programmatically using the Express Checkout APIs. Based on the docs, it seems that the profile can take up to 24 hours to activate. I'm trying to figure out how to setup the billing start date such that it…
jignesh
  • 766
  • 2
  • 10
  • 21
10
votes
6 answers

Not receiving a response from Paypal IPN Sandbox

I'm putting a paypal checkout onto my website but am falling down with the listener. For those of you who are unfamiliar with the Paypal IPN system, basically Paypal sends your script with a message about the transaction, which you send back with a…
user1070084
  • 383
  • 1
  • 3
  • 11
10
votes
1 answer

Django-paypal: IPN requests with Invalid Postback

I am building an e-commerce site using django-paypal to accept Paypal payments. 95% of the time, everything works flawlessly, users are able to pay, sandbox or not, and receive what they purchased. The other 5% of the time, however, instead of…
Cojo
  • 101
  • 3
10
votes
3 answers

PayPal IPN sends multiple notifications hours after payment completed

In the IPN docs there is this line: To handle the possibility of transmission and receipt delays or failures, the IPN message service implements a retry mechanism that resends messages at various intervals until you acknowledge that the…
user1326244
  • 399
  • 1
  • 5
  • 15
10
votes
1 answer

paypal ipn payment_status processed vs completed

I am new to paypal integration and doing ipn integration right now. I am a little confused regarding payment_status processed and completed values according to their site. Completed: The payment has been completed, and the funds have been added…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
10
votes
6 answers

Paypal IPN : notify_url not called

I'm testing a simple paypal paying script whisch works fine except that it's not calling my notify_url and I don't understand why. The url is reachable and even the sandbox IPN testing gives a positive result. Even stranger, on the same domain I…
rpravisani
  • 141
  • 1
  • 1
  • 11
10
votes
2 answers

PayPal IPN POST request encoding

When trying to work with PayPal IPN POST payload in Pyramid (and, probably, others) I get decoding errors: [...] File "./project/views.py", line 716, in paypal_ipn message = request.POST File "build/bdist.linux-x86_64/egg/webob/request.py",…
dsx
  • 131
  • 1
  • 8
9
votes
4 answers

PayPal auto return does not send back any POST data

I have a similar problem to this post Setting PayPal return URL and making it auto return? However, the solution there is not working. We have IPN set up and POST variables get passed back (the visitor clicks back and is able to download purchased…
Natalia
  • 417
  • 3
  • 7
  • 18