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

#   Transaction Failed: 2013 : The Transaction was cancelled by the customer.

##

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

Less More

- Posts: 48
- Thank you received: 5
-
-

6 years 2 weeks ago [\#325802](#325802) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#325802 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")* was created by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22

Hello there,

I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a "cancelled" and "return" URL.

However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.

How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay?
"
Transaction Failed: 2013 : The Transaction was cancelled by the customer.
"
Many thanks
Marcus

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

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

Less More

- Posts: 48
- Thank you received: 5
-
-

6 years 2 weeks ago [\#325804](#325804) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  Replied by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#325804 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

In addition to the original question - can I confirm what the work flow should be ?
- customer finishes the checkout process on the website
- customer is sent a "new order email" email saying "Your order will be processed as soon as your payment is received."
- however the customer then cancels the transaction during the following Sage Pay payment phase.
- the customer is directed back to the website and the "cancelled" url.
- but the customer doesn't receive any further emails.

In this situation, the customer only receives a "new order email" - shouldn't they also receive a cancelled order email?

Many thanks
Marcus

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTE4NS10cmFuc2FjdGlvbi1mYWlsZWQtMjAxMy10aGUtdHJhbnNhY3Rpb24td2FzLWNhbmNlbGxlZC1ieS10aGUtY3VzdG9tZXI/dG1wbD1tYXJrZG93bg==) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 2 weeks ago [\#325811](#325811) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#325811 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

Hello,

What is the order status in your HikaShop backend ?
Can you please provide a screenshot of your payment configuration (you can blank your credentials).

Regards,

---

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

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

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

Less More

- Posts: 48
- Thank you received: 5
-
-

5 years 11 months ago -  5 years 11 months ago [\#327628](#327628) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  Replied by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#327628 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

Hello - apologies for the late reply. I've attached an image from the SagePay configuration screen.

Thanks for your help,
Marc

- [ ![Administration-Pluginsagepay.png](/forum/attachment/51482) ](/forum/attachment/51482 "...ginsagepay.png") [ ](/forum/attachment/51482?download=1 "...ginsagepay.png")

Last edit: 5 years 11 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTE4NS10cmFuc2FjdGlvbi1mYWlsZWQtMjAxMy10aGUtdHJhbnNhY3Rpb24td2FzLWNhbmNlbGxlZC1ieS10aGUtY3VzdG9tZXI/dG1wbD1tYXJrZG93bg==) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 11 months ago -  5 years 11 months ago [\#327674](#327674) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#327674 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

Hello,

Regarding the question :

> What is the order status in your HikaShop backend ?

You didn't provide the information so I can't tell you more regarding the email notifications.

But regarding the message that the customer can see in the page ; for the moment it requires to modify the plugin in order to remove (comment) a line: Code:

$this-&gt;app-&gt;enqueueMessage('Transaction Failed: '.$vars['StatusDetail']);

You will find the file under : plugins/hikashoppayment/sagepay/sagepay.php
By removing the line (or commenting it, by adding two slashes at the beginning of the line) ; the display of the message will be avoid.

Regards,

---

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

Last edit: 5 years 11 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 5
-
-

5 years 11 months ago [\#327675](#327675) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  Replied by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#327675 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

Hi there,

Regarding why there's no cancellation email - can you please be more specific with the information you need.
I assumed the "your payment configuration" that you wanted to see was the SagePay configuration screen - which I included. Could you please describe which screen you'd like me to include?

As for the SayPage error message - commenting out the line is not the greatest fix, as I assume as soon as the component is updated, the fix will be lost. If the SagePay component has a "cancellation URL" field to allow the developer to handle that state - why does it also plaster a message over the page which will surely worry the end user? There's no need for it.

Many thanks
Marc

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTE4NS10cmFuc2FjdGlvbi1mYWlsZWQtMjAxMy10aGUtdHJhbnNhY3Rpb24td2FzLWNhbmNlbGxlZC1ieS10aGUtY3VzdG9tZXI/dG1wbD1tYXJrZG93bg==) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 11 months ago [\#327715](#327715) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Transaction Failed: 2013 : The Transaction was cancelled by the customer.](/forum/27-checkout/901185-transaction-failed-2013-the-transaction-was-cancelled-by-the-customer#327715 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.22  Hello there,  I'm using the Sage Pay plugin and I'm conducting my initial test orders. The SagePay plugin has options to provide a &quot;cancelled&quot; and &quot;return&quot; URL.  However, when my cancelled page is displayed, an alert message box is also displayed at the top of the article. I feel this is unnecessary, as I understand the URL is only for a transaction which has been cancelled by the customer - and my article handles this.  How can I stop this message from being displayed within my article? The text is not in the Language file, so maybe it's being passed by SagePay? &quot; Transaction Failed: 2013 : The Transaction was cancelled by the customer. &quot; Many thanks Marcus")*

Hello,

> What is the order status in your HikaShop backend ?

We need to see the "order history" of your test order which is available in your HikaShop backend.

Regarding the plugin modification, it is a fast and small patch for you and we'll update the plugin with an improvement in order to not display the "user cancel" message but still display other messages returned by the SagePay gateway.

Regards,

---

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

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

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