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

#   SagePay not returning confirmation

##

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

10 years 7 months ago [\#237367](#237367) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  *[SagePay not returning confirmation](/forum/29-payment-methods/883976-sagepay-not-returning-confirmation#237367 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.51 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Chrome 49 Mac -- Error-message(debug-mod must be tuned on) -- : Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.  &quot;Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&quot;  This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?  Regards Tj")* was created by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.51
-- PHP version -- : 5.5.31
-- Browser(s) name and version -- : Chrome 49 Mac
-- Error-message(debug-mod must be tuned on) -- : Forbidden
You don't have permission to access /sagepay_4.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.

"**Forbidden**
You don't have permission to access /sagepay_4.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?

Regards
Tj

- [ ![Sagepay-settings.jpg](/forum/attachment/30840) ](/forum/attachment/30840 "...y-settings.jpg") [ ](/forum/attachment/30840?download=1 "...y-settings.jpg")

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

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 7 months ago [\#237372](#237372) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  Replied by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")* on topic *[SagePay not returning confirmation](/forum/29-payment-methods/883976-sagepay-not-returning-confirmation#237372 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.51 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Chrome 49 Mac -- Error-message(debug-mod must be tuned on) -- : Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.  &quot;Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&quot;  This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?  Regards Tj")*

just checked and the files sagepay_4.php (644) does exist at the root of the server and the files contains: Code:

&lt;?php $_GET['option']='com_hikashop'; $_REQUEST['option']='com_hikashop'; $_GET['tmpl']='component'; $_REQUEST['tmpl']='component'; $_GET['ctrl']='checkout'; $_REQUEST['ctrl']='checkout'; $_GET['task']='notify'; $_REQUEST['task']='notify'; $_GET['notif_payment']='sagepay'; $_REQUEST['notif_payment']='sagepay'; $_GET['format']='html'; $_REQUEST['format']='html'; $_GET['local']='en'; $_REQUEST['local']='en'; $_GET['notif_id']='4'; $_REQUEST['notif_id']='4'; include('index.php');

Last edit: 10 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

10 years 7 months ago -  10 years 7 months ago [\#237382](#237382) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SagePay not returning confirmation](/forum/29-payment-methods/883976-sagepay-not-returning-confirmation#237382 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.51 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Chrome 49 Mac -- Error-message(debug-mod must be tuned on) -- : Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.  &quot;Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&quot;  This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?  Regards Tj")*

Hi,

Well, it does look like a problem with that file not being there or not being accessible due to permission issues.

I don't have other ideas. You can try to roll back to the 2.5.0 version of the plugin:

*This attachment is hidden for guests.
Please log in or register to see it.*

It doesn't use the file at the root of the website so you won't have the problem anymore if you install that package on your website.

Last edit: 10 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 7 months ago [\#237520](#237520) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  Replied by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")* on topic *[SagePay not returning confirmation](/forum/29-payment-methods/883976-sagepay-not-returning-confirmation#237520 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.51 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Chrome 49 Mac -- Error-message(debug-mod must be tuned on) -- : Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.  &quot;Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&quot;  This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?  Regards Tj")*

Thanks for that, the old plugin works well.

Regarding the new Sagepay plugin, would specifically allowing access to sagepay_4.php in the .htaccess file prevent the problem? By default everything is blocked at the root of the site apart from index.php

RewriteRule ^sagepay_4\.php$ - [L]

Just a thought, I will update this post once I have had chance to test it.

Last edit: 10 years 7 months ago by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile").

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

10 years 7 months ago [\#237531](#237531) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SagePay not returning confirmation](/forum/29-payment-methods/883976-sagepay-not-returning-confirmation#237531 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.51 -- PHP version -- : 5.5.31 -- Browser(s) name and version -- : Chrome 49 Mac -- Error-message(debug-mod must be tuned on) -- : Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  After upgrading from Hikashop 2.5 to 2.6.2 we get the following error message when making a transaction.  &quot;Forbidden You don't have permission to access /sagepay&#95;4.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&quot;  This is at the end of the payment process and according to SagePay the transaction was successful. Screenshot of SagePay settings attached. Have the success/failure URL's changed?  Regards Tj")*

Hi,

Well yes, that's your problem. You need to allow access to that file.

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

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