Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Programming
Register Blogs Social Groups Advertise with usHelp Desk

Reply
LinkBack Thread Tools
Unread 21st February 2013, 08:34 AM   #1
I'm Batman
War Room Member
 
ronrule's Avatar
 
Join Date: 2013
Location: Tampa, FL
Posts: 1,197
Thanks: 268
Thanked 1,124 Times in 589 Posts
Default PayPal IPN and GoDaddy

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?

-
Ron Rule
http://ronrule.com
ronrule is offline   Reply With Quote
Unread 21st February 2013, 09:39 AM   #2
Active Warrior
 
Join Date: 2007
Location: , , USA.
Posts: 52
Thanks: 0
Thanked 5 Times in 5 Posts
Default Re: PayPal IPN and GoDaddy

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.

mariya20 is offline   Reply With Quote
Unread 21st February 2013, 10:17 AM   #3
WP Dev & Design
War Room Member
 
David V's Avatar
 
Join Date: 2011
Location: NH, FL, & Wherever I May Roam
Posts: 689
Blog Entries: 4
Thanks: 86
Thanked 232 Times in 188 Posts
Default Re: PayPal IPN and GoDaddy

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.
Quote:
Starting February 1, 2013, we will require all incoming requests to have a “Host” header which complies with the HTTP 1.1 specification

PluginCreationBlueprint is Closed!! JVZoo POTD!
if (!question_exist ('are_you_for_hire'); echo '<"99% Not For Hire">';
David V is offline   Reply With Quote
Unread 21st February 2013, 10:27 AM   #4
I'm Batman
War Room Member
 
ronrule's Avatar
 
Join Date: 2013
Location: Tampa, FL
Posts: 1,197
Thanks: 268
Thanked 1,124 Times in 589 Posts
Default Re: PayPal IPN and GoDaddy

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)

-
Ron Rule
http://ronrule.com
ronrule is offline   Reply With Quote
Unread 21st February 2013, 10:33 AM   #5
WP Dev & Design
War Room Member
 
David V's Avatar
 
Join Date: 2011
Location: NH, FL, & Wherever I May Roam
Posts: 689
Blog Entries: 4
Thanks: 86
Thanked 232 Times in 188 Posts
Default Re: PayPal IPN and GoDaddy

You might be right......
When I hear or read someone say...."Godaddy"
you can hear my deep sighs echo through my office....:rolleyes:

PluginCreationBlueprint is Closed!! JVZoo POTD!
if (!question_exist ('are_you_for_hire'); echo '<"99% Not For Hire">';
David V is offline   Reply With Quote
Unread 21st February 2013, 10:35 AM   #6
I'm Batman
War Room Member
 
ronrule's Avatar
 
Join Date: 2013
Location: Tampa, FL
Posts: 1,197
Thanks: 268
Thanked 1,124 Times in 589 Posts
Default Re: PayPal IPN and GoDaddy

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.

-
Ron Rule
http://ronrule.com
ronrule is offline   Reply With Quote
Unread 21st February 2013, 10:41 AM   #7
WP Dev & Design
War Room Member
 
David V's Avatar
 
Join Date: 2011
Location: NH, FL, & Wherever I May Roam
Posts: 689
Blog Entries: 4
Thanks: 86
Thanked 232 Times in 188 Posts
Default Re: PayPal IPN and GoDaddy

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.

PluginCreationBlueprint is Closed!! JVZoo POTD!
if (!question_exist ('are_you_for_hire'); echo '<"99% Not For Hire">';
David V is offline   Reply With Quote
Unread 21st February 2013, 10:44 AM   #8
I'm Batman
War Room Member
 
ronrule's Avatar
 
Join Date: 2013
Location: Tampa, FL
Posts: 1,197
Thanks: 268
Thanked 1,124 Times in 589 Posts
Default Re: PayPal IPN and GoDaddy

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

-
Ron Rule
http://ronrule.com
ronrule is offline   Reply With Quote
Unread 21st February 2013, 10:48 AM   #9
WP Dev & Design
War Room Member
 
David V's Avatar
 
Join Date: 2011
Location: NH, FL, & Wherever I May Roam
Posts: 689
Blog Entries: 4
Thanks: 86
Thanked 232 Times in 188 Posts
Default Re: PayPal IPN and GoDaddy

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

PluginCreationBlueprint is Closed!! JVZoo POTD!
if (!question_exist ('are_you_for_hire'); echo '<"99% Not For Hire">';
David V is offline   Reply With Quote
Unread 21st February 2013, 10:57 AM   #10
WP Dev & Design
War Room Member
 
David V's Avatar
 
Join Date: 2011
Location: NH, FL, & Wherever I May Roam
Posts: 689
Blog Entries: 4
Thanks: 86
Thanked 232 Times in 188 Posts
Default Re: PayPal IPN and GoDaddy

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.

PluginCreationBlueprint is Closed!! JVZoo POTD!
if (!question_exist ('are_you_for_hire'); echo '<"99% Not For Hire">';
David V is offline   Reply With Quote
Unread 21st February 2013, 12:04 PM   #11
Senior Warrior Member
War Room Member
 
SteveJohnson's Avatar
 
Join Date: 2007
Location: Caldwell, Idaho, USA.
Posts: 2,063
Thanks: 707
Thanked 1,664 Times in 989 Posts
Default Re: PayPal IPN and GoDaddy

Quote:
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.
SteveJohnson is online now   Reply With Quote
Reply

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Programming

Bookmarks

Tags
godaddy, ipn, paypal

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:22 PM.