Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › No Emails, IPN Not Getting Through – Bad Behavior Plugin was the Culprit
- This topic has 2 replies, 2 voices, and was last updated 14 years, 3 months ago by awarner20.
-
AuthorPosts
-
August 11, 2010 at 2:48 pm #1664awarner20Member
I went through several test purchases and was not receiving any emails from WP eStore, Wishlist Member, etc.
After many hours of searching through these forums and trying all suggested fixes (links below and very helpful), I came across a reference to the Bad Behavior plugin blocking the Paypal IPN. I had this plugin activated. I looked in the log for Bad Behavior and found that Paypal was indeed blocked. See below…
IP/Date/Status Headers Entity
66.211.170.66
notify.paypal.com
2010-08-11 03:08:12
A User-Agent is required but none was provided.
POST /wp-content/plugins/wp-cart-for-digital-products/paypal.php HTTP/1.0
Host: adamwwarner.com
mc_gross: 0.01
protection_eligibility: Eligible
address_status: confirmed
item_number1: 1
payer_id: ZWT4RKKEDYBTL
tax: 0.00
address_street: [private]
payment_date: 19:25:08 Aug 10, 2010 PDT
payment_status: Completed
charset: windows-1252
address_zip: [private]
mc_shipping: 0.00
mc_handling: 0.00
first_name: Adam
mc_fee: 0.01
address_country_code: US
address_name: Adam Warner
notify_version: 3.0
custom:
payer_status: unverified
business: [private]
address_country: United States
num_cart_items: 1
mc_handling1: 0.00
address_city: [private]
verify_sign: ACUe-E7Hjxmeel8FjYAtjnx-yjHAAOlMHuLpRHFnqhqek2QsRtg8GdYq
payer_email: test@adamwwarner.com
mc_shipping1: 0.00
txn_id: 9LK08659WU938882P
payment_type: instant
last_name: Warner
address_state: [private]
item_name1: [private]
receiver_email: [private]
payment_fee: 0.01
quantity1: 1
receiver_id: FTJ7TA93PH8AS
txn_type: cart
mc_gross_1: 0.01
mc_currency: USD
residence_country: US
receipt_id: 1708-2244-4855-4641
transaction_subject: Shopping Cart
payment_gross: 0.01I deactivated this plugin and everything works as expected…YAY!
Bad Behavior does offer a “Whitelisting” option by putting IP or User Agent info into a file in the plugin, but in my testing it looks like Paypal uses different IPs and does not include any User Agent info. For now, Bad Behavior will stay deactivated, but I’d love it if anyone here could offer any suggestions. I’ve also sent an alert to the Bad Behavior crew…
The helpful links are found in the FAQ forum, but if you’re reading this, here ya go:
https://support.tipsandtricks-hq.com/forums/topic/wp-estore-and-paypal-profile-settings
https://support.tipsandtricks-hq.com/forums/topic/ipn-sent-to-wp-estore-are-failing
https://support.tipsandtricks-hq.com/forums/topic/how-and-when-to-enable-debug-and-what-does-it-do
…and the blurb about Whitelisting from the Bad Behavior site:
http://www.bad-behavior.ioerror.us/documentation/wordpress/
Whitelisting
On rare occasions you may wish to whitelist a specific user agent or IP address range. To do so, edit the bad-behavior/whitelist.inc.php file, and insert the exact user agent or IP address range desired. Bad Behavior accepts single IP addresses or CIDR format address ranges. If you find something is blocked that should not be, however, please contact me so that I can look into it as well.
I hope this helps others fastrack a solution to any trouble you’re having:)
August 12, 2010 at 12:53 am #23315amin007ParticipantThank you for the detailed post on this. This is why we have the “Bad Behavior” plugin on our “Plugins don’t play nice” list:
August 12, 2010 at 7:35 pm #23316awarner20MemberYou’re welcome amin007. The more I understand your plugins, the better I like them and realize what I great product and service you and Ivy are offering. I am truly pleased!
-
AuthorPosts
- You must be logged in to reply to this topic.