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

#   Paypal payments failing. URGENT PLEASE

##

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

Less More

- Posts: 112
- Thank you received: 1
-
-

9 years 11 months ago [\#256007](#256007) by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")  *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#256007 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")* was created by *[darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")*

-- url of the page with the problem -- : [ www.thingsbritish.co.uk](http://www.thingsbritish.co.uk)
-- HikaShop version -- : 3.7.2
-- Joomla version -- : 3.6.4

Hi,

When a shopper pays with their Paypal account it fails at the end of the process.

"Your payment cannot be completed. Please return to the participating website and try again".

I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.

**How can I trace why nobody can pay for orders on our website using Paypal?**

URGENT PLEASE AS ORDERED CANNOT BE PAID FOR

Thx, Darrell

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84ODc2MjQtcGF5cGFsLXBheW1lbnRzLWZhaWxpbmctdXJnZW50LXBsZWFzZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 11 months ago [\#256011](#256011) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#256011 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi,

I've just done a test on your website and it works just fine:
[ take.ms/9Zr6j](http://take.ms/9Zr6j)
You should have gotten the order on your end too.
So it might be a problem linked to your PayPal account or to your browser.

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

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

Less More

- Posts: 112
- Thank you received: 1
-
-

9 years 11 months ago -  9 years 11 months ago [\#256012](#256012) by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")  Replied by *[darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#256012 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

It fails when you try to pay. Have you clicked "Pay"?

..and no, there was no order confirmation email as you hadn't completed the transaction. Click "pay". It will fail, and you and I will receive an order confirmation that is not paid for.

Last edit: 9 years 11 months ago by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile").

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

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

Less More

- Posts: 112
- Thank you received: 1
-
-

9 years 11 months ago [\#256013](#256013) by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")  Replied by *[darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#256013 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

I want to check the Paypal payment settings. Where on the Paypal website do I find the information to complete the settings in the image?

[ ![pps&#95;2016-11-24-2.PNG](/forum/attachment/34786) ](/forum/attachment/34786 "...16-11-24-2.PNG")

Thx

- [ ![pps&#95;2016-11-24-2.PNG](/forum/attachment/34786) ](/forum/attachment/34786 "...16-11-24-2.PNG") [ ](/forum/attachment/34786?download=1 "...16-11-24-2.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84ODc2MjQtcGF5cGFsLXBheW1lbnRzLWZhaWxpbmctdXJnZW50LXBsZWFzZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14266
-
-

9 years 11 months ago [\#256016](#256016) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#256016 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi,

HikaShop only controls the redirection to PayPal and then the order confirmation after the payment is made and the customer is redirected to the website.
In between, it is only handled by PayPal. So when you click on "pay" on that screenshot, HikaShop doesn't have any control and whatever you do in the settings of HikaShop, it won't change anything.
That's why I'm saying that it's probably something linked to your PayPal account or browser.

I see that you're using PayPal Adaptive. This requires that your PayPal account is compatible with PayPal Adaptive. Is that the case ?

In any case, I recommend you to contact the PayPal merchant support as we can't help with that error since it's not something linked to HikaShop and we don't have any useful information we can give you about it.

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

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

Less More

- Posts: 112
- Thank you received: 1
-
-

9 years 10 months ago [\#257387](#257387) by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")  Replied by *[darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#257387 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi,

URGENT PLEASE

After weeks of support with Paypal, they are stating the following is the reason that we can't take payments (or orders) on our marketplace. Please can you check if this is the cause of the problem.

Dear Darrell,

The test I did with your Adaptive payments link item [ www.thingsbritish.co.uk/component/hikash...ct/19021-10082-043-8](https://www.thingsbritish.co.uk/component/hikashop/product/19021-10082-043-8) returned the error that engineers investigated.

Double checking the logs appears the real error, your integration is passing a field for the IP Address that is too long and cause errors with the payment.

This is the field: &lt;ipAddress&gt;185.97.82.XXX, 185.97.82.XXX&lt;/ipAddress&gt; (edit: I have hidden the actual IP address).,
There are 2 values passed as you can see.

Check your integration where the IP address is passed and pass only 1, it will fix the error.

Let me know for anything.

Kind Regards,
Andrea &#124; PayPal Merchant Technical Support

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 10 months ago [\#257396](#257396) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#257396 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi,

The HikaMarket Paypal Adaptive plugin do send the client IP to the Paypal Adaptive.
That IP information is provided directly by your server and the function " hikashop_getIP " of the HikaShop core allow the plugin to get that IP address.

So, I recommend you to put a little patch in order to fix the wrong content provided by your web server.
You have to modify the HIkaShop help ( administrator/components/com_hikashop/helpers/helper.php ) and put that new content for the hikashop_getIP function Code:

function hikashop_getIP(){ $ip = ''; if( !empty($_SERVER['HTTP_X_FORWARDED_FOR']) &amp;&amp; strlen($_SERVER['HTTP_X_FORWARDED_FOR']) &gt; 6){ $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; }elseif( !empty($_SERVER['HTTP_CLIENT_IP']) &amp;&amp; strlen($_SERVER['HTTP_CLIENT_IP']) &gt; 6){ $ip = $_SERVER['HTTP_CLIENT_IP']; }elseif(!empty($_SERVER['REMOTE_ADDR']) &amp;&amp; strlen($_SERVER['REMOTE_ADDR']) &gt; 6){ $ip = $_SERVER['REMOTE_ADDR']; } if(strpos($ip,',') !== false) { $ips = explode(',', trim($ip,',')); $ip = trim($ips[0]); } return strip_tags($ip); }

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 112
- Thank you received: 1
-
-

9 years 10 months ago -  9 years 10 months ago [\#257418](#257418) by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")  Replied by *[darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#257418 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi Jerome,

I can confirm that making this code change in your product has fixed this issue. Thank you for the code.

It is now possible to use adaptive payments with Paypal and Hikamarket.

Do you need to make this change permanent, or at least allow for it, for any ISP that report the IP this way, so that nobody else has to go through this?

Thx, Darrell

Last edit: 9 years 10 months ago by [darrelluk](/forum/user/38717-darrelluk "View darrelluk's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 10 months ago [\#257420](#257420) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal payments failing. URGENT PLEASE](/forum/29-payment-methods/887624-paypal-payments-failing-urgent-please#257420 "-- url of the page with the problem -- :   www.thingsbritish.co.uk  -- HikaShop version -- : 3.7.2 -- Joomla version -- : 3.6.4  Hi,  When a shopper pays with their Paypal account it fails at the end of the process.  &quot;Your payment cannot be completed. Please return to the participating website and try again&quot;.  I enabled debug on the Paypal payment option, but a log file wasn't generated. No file exists.  How can I trace why nobody can pay for orders on our website using Paypal?  URGENT PLEASE AS ORDERED CANNOT BE PAID FOR  Thx, Darrell")*

Hi,

Even if you're the only one to have some issue of multiple IP address returned by the function ; we will add the patch I gave you in the HikaShop core.
So we will be sure that this problem won't happen again in the future.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84ODc2MjQtcGF5cGFsLXBheW1lbnRzLWZhaWxpbmctdXJnZW50LXBsZWFzZT90bXBsPW1hcmtkb3du) 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.267 seconds

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

[](#top)
