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

#   Secure Trading Payment Gateway issue

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

10 years 6 months ago [\#241892](#241892) by [Bower](/forum/user/31321-bower "View Bower's Profile")  *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#241892 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")* was created by *[Bower](/forum/user/31321-bower "View Bower's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.3
-- PHP version -- : 5.5.36
-- Browser(s) name and version -- : firefox 46.0.1

Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!

Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODQ4NzYtc2VjdXJlLXRyYWRpbmctcGF5bWVudC1nYXRld2F5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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 6 months ago [\#241908](#241908) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#241908 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi,

Please note that we can't support payment plugins we didn't develop. You have to seek help with Secure Trading as they handle both the development of the payment plugin and the payment gateway. So they have all the keys to guide and help you.

What you're describing means that there must be a problem with the payment notification coming from the payment gateway.
We've done some documentation regarding that problem for the PayPal payment gateway:
[ www.hikashop.com/support/documentation/i...or.html#notification](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#notification)
So it could be a good base to debug the situation: check the debug data, the access log of the website, etc. Then with the clearer picture of the situation that you can provide to their support, they might be able to provide a better help.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#243642](#243642) by [Bower](/forum/user/31321-bower "View Bower's Profile")  Replied by *[Bower](/forum/user/31321-bower "View Bower's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#243642 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi Nicolas

I've been in contact with Secure Trading and haven't been able to get to the bottom of the issue we have been having. Secure Trading's module is only supported as far as Hikashop 2.1 but we are using Hikashop 2.6.3.

They say they have no plans to update their module anytime soon!

Would you be able to pm me details (ie costs etc) if we were to ask you to do some development on this to get it working for us?

Thanks

Last edit: 10 years 5 months ago by [Bower](/forum/user/31321-bower "View Bower's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODQ4NzYtc2VjdXJlLXRyYWRpbmctcGF5bWVudC1nYXRld2F5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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 5 months ago [\#243646](#243646) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#243646 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi,

The plugins are supposed to work the same since HikaShop 2.0.0. So I don't see why it would work with the 2.1 and not the 2.6.3
The problem is probably elsewhere.
Most of the time, it comes from something on the server side, like the plugin needing a connection to the payment gateway but the server doesn't allow outgoing connections etc.

We can have a go at it. We'll charge 60€ for each hour we spend on it. We can't give a fixed price as we don't know how the plugin works, how the code looks like, what is the API of the payment gateway, etc. So there are a lot of unkowns.
If you're ok with that, use our contact form and provide:
- a backend access to your website
- a FTP account
- the necessary test credentials to place orders on the website and pay them with your Secure Trading merchant account
- the necessary information to connect to your Secure Trading merchant account on their website
- a way to access your apache access log
- a link to this thread

[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

10 years 4 months ago [\#244950](#244950) by [Bower](/forum/user/31321-bower "View Bower's Profile")  Replied by *[Bower](/forum/user/31321-bower "View Bower's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#244950 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi Nicolas

Am still struggling getting the secure trading payment gateway to update the order status to confirmed. We have exhausted lines of communication with Secure Trading for the time being.

I've put a test site together on a different server with a different ISP and I am able to see better access logs.
Code:

194.74.4.166 - - [06/Jul/2016:14:36:01 +0100] "POST /index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages HTTP/1.1" 200 403 "-" "SecureTrading STPP Gateway" 176.35.203.55 - - [06/Jul/2016:14:36:01 +0100] "GET /index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages&amp;errorcode=0&amp;orderreference=14 HTTP/1.1" 302 293 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0" 176.35.203.55 - - [06/Jul/2016:14:36:02 +0100] "GET /?option=com_hikashop&amp;view=checkout&amp;layout=after_end HTTP/1.1" 200 601429 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0"

From this I am able to deduce that our server is getting notified from Secure Trading but does the 302 after the GET url mean that this is being redirected and thus the reason why the order status is not updating?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODQ4NzYtc2VjdXJlLXRyYWRpbmctcGF5bWVudC1nYXRld2F5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#244965](#244965) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#244965 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi,

That access log is quite interesting.
The first log is a request from your payment gateway to the notification URL of your plugin: Code:

194.74.4.166 - - [06/Jul/2016:14:36:01 +0100] "POST /index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages HTTP/1.1" 200 403 "-" "SecureTrading STPP Gateway"

That's the request you had to look for.
As it gives a 200 HTTP return code, it means that the request is successful, and thus if the payment plugin is properly coded, with the debug option activated it should add debug data in the payment log of the HikaShop configuration.
If the payment log is empty even though you have that log and the debug option is activated, there is a problem with the payment plugin code.

The second log is the redirection of the customer from the payment page to the website which also goes through the paymnet notification but only to redirect the customer to the after_end view (the thank you page). So that why you get a 302 redirect HTTP return code. So that's functioning properly.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

10 years 4 months ago [\#246401](#246401) by [Bower](/forum/user/31321-bower "View Bower's Profile")  Replied by *[Bower](/forum/user/31321-bower "View Bower's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#246401 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi

Got a bit further with Secure Trading - they had a bug in their module.
However I have have implemented the fix on a test site and our client's dev site on the same server - the test site works - the client's dev site doesn't! The order status still isn't being updated to confirmed!

I have tried switching all plugins off and testing - making sure all the settings in the two sites are identical - still no joy!

Both access logs are identical so i can't understand it.

Test site Code:

194.74.4.166 - - [26/Jul/2016:13:28:51 +0100] "POST /test/index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages HTTP/1.0" 200 22 "-" "SecureTrading STPP Gateway" 176.35.203.55 - - [26/Jul/2016:13:28:52 +0100] "GET /test/index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages&amp;errorcode=0&amp;orderreference=33 HTTP/1.0" 302 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0"

Client's dev site Code:

194.74.4.166 - - [26/Jul/2016:13:49:21 +0100] "POST /index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages HTTP/1.0" 200 107 "-" "SecureTrading STPP Gateway" 176.35.203.55 - - [26/Jul/2016:13:49:22 +0100] "GET /index.php?option=com_hikashop&amp;view=checkout&amp;layout=notify&amp;notif_payment=securetradingppages&amp;errorcode=0&amp;orderreference=71 HTTP/1.0" 302 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0"

Any suggestions as to what I can do next?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODQ4NzYtc2VjdXJlLXRyYWRpbmctcGF5bWVudC1nYXRld2F5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#246428](#246428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Secure Trading Payment Gateway issue](/forum/29-payment-methods/884876-secure-trading-payment-gateway-issue#246428 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.3 -- PHP version -- : 5.5.36 -- Browser(s) name and version -- : firefox 46.0.1  Have an issue with the payment gateway - all goes through ok but the order status is not updated from created to confirmed once payment has been authorised!  Have contacted Secure Trading and they say it should work - do you have any ideas why this isn't working?")*

Hi,

It will be the same answer from me:
You get the payment notification in your server and it returns a success HTTP code.
So if you activate the debug setting of the payment method, you should see debug data in the payment log which will help us tell you what is the problem.

Without any payment log, we can only say that there is either a problem in the code of the plugin or in the settings of the plugin.

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

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