IPN with paypal Direct

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 yıl önce
Hello,
Does anyone have the IPN working with paypal Direct.  (Note: the API is working fine I can initialte a session and complete transactions in nopcomm no problems).  But, I have been trying to run a test where I do a IPN return from Paypal in test account within paypal sandbox.  It does not post to nopcommerce. I don't think the request is making it out of the Sandbox as I don't see anything in the logs.  I am working in the blind because my site is on host arvixe.  I attempted to contact paypal support so I could go over configuration to see if there is something there.  They have not been(or made themselves) available by phone and have not responded to my e-mail.

So here's a couple questions.
1) Anyone using paypal and successfully receiving IPNs initiated by paypal to post?
2)do you have any sample of what the IPN request coming from paypal looks like in the log?
3)Is the sandbox enviornment in paypal representative of what I can expect in production or are some of the features like IPN not really robust or stable in the sandbox.

I hate that I may be chasing my tail and that It could be a feature working in paypal Prod but not paypal sandbox.  Aslo it could be a simple config item within paypal I'm overlooking.

Any help appreciated.

jeff
12 yıl önce
jeffahart wrote:
Hello,
Does anyone have the IPN working with paypal Direct.  (Note: the API is working fine I can initialte a session and complete transactions in nopcomm no problems).  But, I have been trying to run a test where I do a IPN return from Paypal in test account within paypal sandbox.  It does not post to nopcommerce. I don't think the request is making it out of the Sandbox as I don't see anything in the logs.  I am working in the blind because my site is on host arvixe.  I attempted to contact paypal support so I could go over configuration to see if there is something there.  They have not been(or made themselves) available by phone and have not responded to my e-mail.

So here's a couple questions.
1) Anyone using paypal and successfully receiving IPNs initiated by paypal to post?
2)do you have any sample of what the IPN request coming from paypal looks like in the log?
3)Is the sandbox enviornment in paypal representative of what I can expect in production or are some of the features like IPN not really robust or stable in the sandbox.

I hate that I may be chasing my tail and that It could be a feature working in paypal Prod but not paypal sandbox.  Aslo it could be a simple config item within paypal I'm overlooking.

Any help appreciated.

jeff


What did you put as your IPN url (http://www.yourStore.com/Plugins/PaymentPayPalDirect/IPNHandler), and is sandbox checked in the paypal direct plugin.

.
12 yıl önce
garrie007 wrote:

jeff

What did you put as your IPN url (http://www.yourStore.com/Plugins/PaymentPayPalDirect/IPNHandler), and is sandbox checked in the paypal direct plugin.

.


I used what you have above and my store domain and have sandbox checked.

Here's what I found out so far.  PayPal has an IPN history and it showed a response.  Caused me to look harder at the arvixe logs. (In haste, I was looking at the wrong test domain files that's why I initially thought my request was not making out of PayPal). PayPal IPN History showed a Http response of 500.  So the request is making it out of paypal.  It's getting hung in arvixe.  Here's what I'm getting in arvixe log. 2013-02-01 21:56:10 W3SVC1132 198.58.81.216 POST /Plugins/PaymentPayPalDirect/IPNHandler - 80 - 173.0.82.126 - 500 0 0 1452 1123 381

I have a ticket into arvixe.  But if there is anything else you think I might have missed I would like to try and save the arvixe guys some hassles.

also, are you able to process IPN requests initiated by PayPal Direct/Pro?

Thanks again,
jeff
12 yıl önce
jeffahart wrote:

jeff

What did you put as your IPN url (http://www.yourStore.com/Plugins/PaymentPayPalDirect/IPNHandler), and is sandbox checked in the paypal direct plugin.

.

I used what you have above and my store domain and have sandbox checked.

Here's what I found out so far.  PayPal has an IPN history and it showed a response.  Caused me to look harder at the arvixe logs. (In haste, I was looking at the wrong test domain files that's why I initially thought my request was not making out of PayPal). PayPal IPN History showed a Http response of 500.  So the request is making it out of paypal.  It's getting hung in arvixe.  Here's what I'm getting in arvixe log. 2013-02-01 21:56:10 W3SVC1132 198.58.81.216 POST /Plugins/PaymentPayPalDirect/IPNHandler - 80 - 173.0.82.126 - 500 0 0 1452 1123 381

I have a ticket into arvixe.  But if there is anything else you think I might have missed I would like to try and save the arvixe guys some hassles.

also, are you able to process IPN requests initiated by PayPal Direct/Pro?

Thanks again,
jeff


Hi,

Yes i am able to process IPN requests in both paypal direct/standard, i run my own server so i have full permissions on everything as well and can also work around IIS directly which seems to be a problem for you.

Arvixe, well what can i say apart from what i have heard on this forum and other people i know who have had a similar bad experience with them, mmmmmm

post the response you get back from arvixe for me.


.
12 yıl önce
garrie007 wrote:
Yes i am able to process IPN requests in both paypal direct/standard, i run my own server so i have full permissions on everything as well and can also work around IIS directly which seems to be a problem for you.

Arvixe, well what can i say apart from what i have heard on this forum and other people i know who have had a similar bad experience with them, mmmmmm

post the response you get back from arvixe for me.


.


That is good news, that nopcomm plugin works.... Thanks!  I was just looking through the code to see if anything cought my eye, really futile when you cannot trace.  

I will post results.

Thanks for your help!

jeff
12 yıl önce
Post Mortem:

The issue was a bad path. I had two stacked Plugins directories.  And only the lower plugins dir had the dlls.  But the app ran fine, except for the IPNHandler.  I could make payments and communicate both ways with PayPal via the PayPalDirect API.   How I found my messed up Dir structure was when I put a simple file in the plugins dir to hit from my browser.  Then realized my structure was wrong.

But why did the PayPalDirect API work for payments and two way communication but not the IPN calls from paypal?  My best guess, since I cannot trace the code is:  The difference between Route and Path.   PayPal Requests were getting routed but somewhere in the IPNHandler code it must be negotiating a path somewhere and failing due to the bad Dir Structure.
My best guess but I works great now.

Regarding responses from Arvixe.  They worked with me to verify all ports and IPs from paypal were open and hitting PayPal form their side.  Arvixe worked with me on all potential failure points.  Finding problems is always a process of elimination.   Between Arvixe, PayPal and you here on the forum, I was able to get funneled down to my own stupid mistake.
  
I actually got great service from Arvixe!

Thanks for your help!

Jeff
12 yıl önce
Hi,

Glad it's sorted for you now.


.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.