- Posts: 48
- Thank you received: 5
Transaction Failed: 2013 : The Transaction was cancelled by the customer.
- marcusadamski
-
Topic Author
- Offline
Less
More
6 years 2 weeks ago #325802
by marcusadamski
Transaction Failed: 2013 : The Transaction was cancelled by the customer. was created by marcusadamski
-- 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
-- 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 or Create an account to join the conversation.
- marcusadamski
-
Topic Author
- Offline
Less
More
- Posts: 48
- Thank you received: 5
6 years 2 weeks ago #325804
by marcusadamski
Replied by marcusadamski on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
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
- 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 or Create an account to join the conversation.
6 years 2 weeks ago #325811
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
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,
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- marcusadamski
-
Topic Author
- Offline
Less
More
- Posts: 48
- Thank you received: 5
5 years 11 months ago - 5 years 11 months ago #327628
by marcusadamski
Replied by marcusadamski on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
Hello - apologies for the late reply. I've attached an image from the SagePay configuration screen.
Thanks for your help,
Marc
Thanks for your help,
Marc
Last edit: 5 years 11 months ago by Jerome.
Please Log in or Create an account to join the conversation.
5 years 11 months ago - 5 years 11 months ago #327674
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
Hello,
Regarding the question :
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:
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,
Regarding the question :
You didn't provide the information so I can't tell you more regarding the email notifications.What is the order status in your HikaShop backend ?
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->app->enqueueMessage('Transaction Failed: '.$vars['StatusDetail']);
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 & HikaSerial developer / HikaShop core dev team.
Last edit: 5 years 11 months ago by Jerome.
Please Log in or Create an account to join the conversation.
- marcusadamski
-
Topic Author
- Offline
Less
More
- Posts: 48
- Thank you received: 5
5 years 11 months ago #327675
by marcusadamski
Replied by marcusadamski on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
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
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 or Create an account to join the conversation.
5 years 11 months ago #327715
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Transaction Failed: 2013 : The Transaction was cancelled by the customer.
Hello,
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,
We need to see the "order history" of your test order which is available in your HikaShop backend.What is the order status 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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds