[Skip to main content](#vessel-content)

#   PayPal responded with http code 400

##

- **[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")**
- [![ltempest's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1784-ltempest "View ltempest's Profile") Topic Author
- [ Offline](/forum/user/1784-ltempest)

Less More

- Posts: 237
- Thank you received: 5
-
-

5 years 5 months ago [\#334060](#334060) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  *[PayPal responded with http code 400](/forum/29-payment-methods/902891-paypal-responded-with-http-code-400#334060 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Help, I seem to be having issues with PayPal and processing of orders. I get an error in the logs stating:  And then an email from PayPal with the error stated as:  I have tried adding the IP address and removing all the IP addresses, but nothing seems to work!  Please help this is affecting a live site!  Thanks Lee")* was created by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")*

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27

Help,
I seem to be having issues with PayPal and processing of orders. I get an error in the logs stating:
Code:

&lt;h3&gt;07.01.21 08:28:39 - paypal&lt;/h3&gt; PayPal responded with http code 400 &lt;h3&gt;07.01.21 08:28:39 - paypal&lt;/h3&gt; Bad Request &lt;h3&gt;07.01.21 08:28:39 - paypal&lt;/h3&gt; PayPal transaction id: 6FX13048094547646 &lt;h3&gt;07.01.21 08:28:39 - paypal&lt;/h3&gt; invalid responsePOST HTTP/1.1 User-Agent: PHP/7.4.20 Referer: https://www.thhs.co.uk/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment=paypal&amp;tmpl=component&amp;lang=en&amp;Itemid=131 Server: Apache Host: www.sandbox.paypal.com Content-Type: application/x-www-form-urlencoded Content-Length: 1162 Accept: */* Connection: close

And then an email from PayPal with the error stated as:
Code:

Hello, A Paypal notification was refused because the IP 173.0.80.117 is not in the list of valid IPs : 151.101.129.* 173.0.81.* 66.211.169.* 173.0.84.* 173.0.88.* 173.0.82.*

I have tried adding the IP address and removing all the IP addresses, but nothing seems to work!

Please help this is affecting a live site!

Thanks
Lee

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDI4OTEtcGF5cGFsLXJlc3BvbmRlZC13aXRoLWh0dHAtY29kZS00MDA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

5 years 5 months ago [\#334065](#334065) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal responded with http code 400](/forum/29-payment-methods/902891-paypal-responded-with-http-code-400#334065 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Help, I seem to be having issues with PayPal and processing of orders. I get an error in the logs stating:  And then an email from PayPal with the error stated as:  I have tried adding the IP address and removing all the IP addresses, but nothing seems to work!  Please help this is affecting a live site!  Thanks Lee")*

Hi,

The error indicates that the IPN was rejected because the IP is not in the list. So yes, removing everything from the IP setting is what I would recommend. That will also prevent a similar issue in the future.
There is already a security in the way the system works. Checking the IP addresses is not necessary (it can be nice to have as extra security but you need to actively update the list when PayPal adds new IP addresses).

You won't get the same error if you remove the IPs from the setting in the payment method. If you still do, then maybe you have several paypal payment method and you changed the setting of another one than the one you were using in your test or something like that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDI4OTEtcGF5cGFsLXJlc3BvbmRlZC13aXRoLWh0dHAtY29kZS00MDA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.039 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
