PayPal IPN and GoDaddy

by 10 comments
Hey guys, hoping someone here can help ... I installed a Wordpress plugin called Paid Downloads so I can sell a PDF from my blog. I've been using a custom script of my own on another server but want to try and integrate everything into Wordpress, so this plugin initializes a PayPal connection and has a listener for the PayPal IPN which updates the database and sends the user their download.

I'm not a stranger to the PayPal IPN, but I'm an ASP guy so PHP is a foreign language to me and I have no idea how to troubleshoot this.

Basically I'm getting a 403 on PayPal's side - that's what they're getting when they try to post to the IPN URL I put in. I've done everything according to the documentation, but I'm starting to think it's something on GoDaddy's side. Read some stuff about CURL and Proxy Servers, but I have no idea how to modify this plugin to do that instead of trying to talk directly via an HTTP post.

Any ideas?
#programming #godaddy #ipn #paypal
  • Profile picture of the author mariya20
    hello there,

    This is a Help Faq answer i found :

    Open URL mywebsite.com/?paiddownloads_ipn=paypal in your browser. You must see blank screen. If so, then go to next step. If you see any error/warning message, so contact the plugin Author from here : ichurakov | CodeCanyon. If you see homepage of your WordPress website, then check this link.
    Try to change PayPal ID that receives payments. Sometimes it helps. I think the problem is related to some account settings on PayPal side, but now I can’t tell which ones might be a reason of this issue. I have to research this question more deeply.
    If changing of PayPal ID doesn’t help, go to your PayPal account, then click “Profile” and “My selling tools”. In the list of settings choose “Instant payment notifications” and click “Update”. Then click button “Choose IPN Settings”. On this page choose “Receive IPN messages (Enabled)” and set “Notification URL” as mywebsite.com/?paiddownloads_ipn=paypal.
  • Profile picture of the author David V
    Something to note if you haven't seen this yet, is that Paypal has made a change to their IPN and PDT API as of Feb 1, 2013.
    If your using an older script your wrote, you may need to update it.

    It's worth noting since many products that utilize their IPN are having issues if they have not updated. You can read about it here.
    Starting February 1, 2013, we will require all incoming requests to have a ďHostĒ header which complies with the HTTP 1.1 specification
    • Profile picture of the author ronrule
      Wow, hadn't seen that yet... I guess I need to recheck my other scripts that ARE (or maybe WERE) working too.

      Do you think that could be causing PayPal to see a 403 error though? I wish they had a better way of troubleshooting this. I hate trying to debug stuff on a live Wordpress site. I'm still not convinced it's not something weird with GoDaddy either - ended up trying another plugin and still getting the same results (Easy Digital Download)
  • Profile picture of the author David V
    You might be right......
    When I hear or read someone say...."Godaddy"
    you can hear my deep sighs echo through my office....:rolleyes:
  • Profile picture of the author ronrule
    Yeah, yeah, one of those "don't feel like moving it today, I'll do it next week" type of situations that's dragged on for about two years. Today might be the day.
  • Profile picture of the author David V
    That sounds good!
    Godaddy does have it's good points...so I've been told..
    Sometimes it's really hard to diagnose an issue when using GD since they have their own way of doing things which makes diagnostic confusing.
    Problems with WordPress, 403's, htaccess, and scripts are not uncommon.
  • Profile picture of the author ronrule
    I have a couple Windows sites hosted at Arvixe and have been happy with them so far, any opinion on their Linux hosting?
    Thanks for your input btw
    • Profile picture of the author David V
      Originally Posted by ronrule View Post

      I have a couple Windows sites hosted at Arvixe and have been happy with them so far, any opinion on their Linux hosting?
      Thanks for your input btw
      I'm not familiar with Arvixe, I've always run my own reseller/hosting and have lately been playing with Amazons EC2 and custom stacks.
  • Profile picture of the author David V
    Since your developing with Paypal, it would be worth signing up with the dev area so you'll receive the IPN notice changes, etc...
    They seem to modify the IPN once or twice a year.
  • Profile picture of the author SteveJohnson
    Originally Posted by ronrule View Post

    Hey guys, hoping someone here can help ... I installed a Wordpress plugin called Paid Downloads so I can sell a PDF from my blog. I've been using a custom script of my own on another server but want to try and integrate everything into Wordpress, so this plugin initializes a PayPal connection and has a listener for the PayPal IPN which updates the database and sends the user their download.

    I'm not a stranger to the PayPal IPN, but I'm an ASP guy so PHP is a foreign language to me and I have no idea how to troubleshoot this.

    Basically I'm getting a 403 on PayPal's side - that's what they're getting when they try to post to the IPN URL I put in. I've done everything according to the documentation, but I'm starting to think it's something on GoDaddy's side. Read some stuff about CURL and Proxy Servers, but I have no idea how to modify this plugin to do that instead of trying to talk directly via an HTTP post.

    Any ideas?
    First thing to check is that the requests aren't being blocked by any security plugins you may be running.

    Then you'll need to look at the response headers that your site is sending when the IPN URL is requested. Chrome and Firefox browsers both have extensions you can install to see the headers.

    PayPal's API changes really have nothing to do with this, if you've described your situation accurately.

Next Topics on Trending Feed