HikaShop: 2 of 3 Order emails not coming through when a credit card is used

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 6 days ago #373183

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 5.4.8
-- PHP version -- : 8.2.33
-- Browser(s) name and version -- : Chrome 151.0.7922.174
-- Error-message(debug-mod must be tuned on) -- : N/A

Hello!

We are getting the order administrator notifications, but not the payment notification and Order status notifications when a credit card is used.
If a coupon is used we get all 3 emails like normal.
We are using Hikashop Stripe Connect Payment Plugin version 1.2.5
We updated to Joomla 5.4.8 and HikaShop 6.5.2 the other day.
We manually sent emails #7-15 in the email list to let the customers know the orderr went through.
We ran a test with a coupon and all 3 emails came through. We ran another test with a credit card and only received the Order administrator notification as you can see in the email list.

I turned on debug with maximum reporting and do not see any errors.

Is there any additional information we can provide or access so you may better help us.

Thank you in advance for any help!
Josh and Edwin with Radix Productions

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
2 weeks 5 days ago #373185

Hi,

Thanks for the details, they were enough to find a bug on our side for one of the two emails.

When the payment method takes the money during the checkout, before the order is created, which is what the Stripe Connect plugin does when its "Payment mode" setting is on "Checkout", the payment notification email was not sent. HikaShop builds that email from the order, and at that point the order does not exist yet, so nothing was sent. We've made a new release of HikaShop today with the necessary modifications for this to work: the notification now waits for the order to be created and goes out right after.

The order status notification is a different matter, and it is expected in that flow. Since the payment is already accepted when the order is created, the order is created directly in the confirmed status: there is no status change, so no status notification. What the customer gets on an order which is created is the "Order creation notification" email. Could you check in System > Emails whether that one is published on your site? If it is disabled, your customers indeed receive nothing, which would match what you describe, and publishing it should give them their confirmation on card orders.

Two things which would help us confirm all this: the value of the "Payment mode" setting on your Stripe Connect payment method, and whether the coupon you tested with covered the whole order. If it did, no payment plugin ran at all during that order, which is why that test behaved differently.

The following user(s) said Thank You: ACMLLC

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 5 days ago #373186

Hi Nicolas

Thank you for your reply and the updated Hikashop extension!
The "Order creation notification" email was not published and now is.
The "Payment mode" setting on your Stripe Connect payment method is set to End page
The coupon we tested with covered 100% of the whole order.
Thanks again! Please let us know if there is any additional information we can provide.

Thanks again,
Edwin

Last edit: 2 weeks 5 days ago by ACMLLC.

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
2 weeks 5 days ago #373188

Hi,

Update your HikaShop manually to the 6.0.0 and test again. Hopefully, this, along with enabling the order creation notification email will do it.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 3 days ago #373200

Hi Nicolas
Thank you again for your help!
I updated HikaShop to 6.0.0 and enabled the Order creation notification. That is working. We are now recieving 2 out of the 3 emails we were recieving before.
However the "payment notification : payment" email is published and we did not receive that one.
Is there something else I need to do?
Thank you
Edwin

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 3 days ago #373202

Hi Nicolas
Another difference we are seeing is in something called the order_token. Josh, my business partner runs a report and he sees it.
Before v6.0.0 the token was 8 characters like: 4zwGXrug
after 6.0.0 they are 32 characters, her is one of those: w66I4ZQXMLaFenfioCz7mvmAwhzRy3sy
I don't know what that means, but you might.
Would you like login access? I will share an admin access with you privately in case it will help.
This is site is actively selling products now while its in the middle of our clients busy season.

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
2 weeks 3 days ago #373201

Hi Edwin,

Thanks for testing.

We would need more information in order to better understand the issue. Could you :

- Open one of these card orders in the backend and look at its history: is there an entry added at the moment of the payment, and in which status did the order end up ?
- On the same order, did the customer receive the order status notification, or is that one missing too ?
- On your Stripe Connect payment method, turn on the "Debug" setting, and check that the "Payment log file" setting of the HikaShop configuration has a file name in it. Then place one test order with a card and send us what the log records.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 2 days ago #373215

Hi Nicolas

We've restored our site to a backup from August 12. It's a long story and we had to get the site sales working again..
I need to let you know about our HikaShop installation. It was 5.1.6. Old I know.
In that site, we are selling event "tickets" using your Entries feature.
When an order happened there were 3 emails that were added to the email log whether the order was with a 100% coupon or a credit card.The emails are:
payment notification : payment
Order status notification
Order administrator notification

When we updated to HikaShop 6.5.2 the emails added to the email log changed when an order was successful. We only saw:
Order administrator notification

You can read the forum posts in this chain to get the rest of the things you asked us to try.

We're going to stay put at this version for now until ours clients event is over.

There may have been a bug introduced in the way the emails behave with Entry orders. We hope this will be helpful information for you to resolve a great feature of HikaShop. Thank you for all your help and time.

Highest regards,
Edwin and Josh

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
2 weeks 1 day ago #373219

Hi Edwin,

Thank you for the extra information, the Entries part in particular. I set up an event shop like yours on a test site (entry custom fields attached to products, order placed through the entry registration form, HikaShop 6.6.0) and the four order emails all went out: both when the payment method confirms the order during the checkout, and when the order is created first and confirmed later by a notification coming back from the gateway, which is what your Stripe Connect method does in "End page" mode. So the Entries feature is not what is keeping your emails from being sent.

That leaves the "payment notification : payment" email. That one does not go to your customer, it goes to the addresses of the "Payment notifications email address" setting in HikaShop > System > Configuration, Emails tab. If that field is empty, HikaShop sends nothing at all whatever the payment method does, which would match exactly the one email you are missing.

And when your client's event is over and you can test again, two things would tell us the rest:

- On a card order, the history of the order in the backend: is a line added at the moment of the payment, and does it say the customer was notified?
- The "Debug" setting of your Stripe Connect payment method turned on, with a file name in the "Payment log file" setting of the HikaShop configuration, then one test order. That log tells us whether the payment notification reaches HikaShop and what it asks it to do.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
2 weeks 1 day ago #373238

Hi Nicolas

Thank you for testing out the Entries. Glad you were able to confirm that's not an issue.

Here is some additional feedback feedback for you:
On the card order: Yes, "payment confirmed automatic payment notification received" is added in our current Hikashop 5.1.6 and the new 6.6.0, when it was active, order history at the time the order completed.

Yes to "payment notification : payment" email is not a customer email. I was just saying it was in the Email log.

We did not change any settings at all in HikaShop when we updated from 5.1.6 to 6.5.2. That's when we noticed there were fewer emails in the email log when an order completed.

When we updated to 6.6.0 the checkout process would not go beyond step1, so we could not complete an order of any kind.

I am attaching a screenshot of our checkout configuration in case it is helpful.

Let me know if you would like any additional information or configuration settings from our working 5.1.6.

Thank you
Edwin

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
2 weeks 22 hours ago #373258

Hi Edwin

Thank you.

On the emails, your order history tells us the important part: HikaShop does receive the payment notification and does confirm the order, so nothing is lost on the way. What is left is only the sending of that one email.

The "payment notification : payment" email is the one email which does not depend on the Emails page alone: it is sent to the addresses of the "Payment notifications email address" setting, in HikaShop > System > Configuration, Emails tab. If that field is empty, HikaShop stops there and sends nothing at all, whatever the payment method did, and nothing appears in the email log. You can look at it on your 5.1.6 site right now without any risk, and it would tell us whether we are looking at a setting or at a bug on our side.

Then, when your client's event is over and you can test again on HikaShop 6.6.0: turn on the "Debug" setting of your Stripe Connect payment method, put a file name in the "Payment log file" setting of the HikaShop configuration, and place one card order. We have also added to that 6.6.0 package the reason why the payment notification email is not sent when it is not, so that log should now name it directly instead of us guessing, along with what the payment notification asks HikaShop to do. So download again the install package on our website and install it again on yours in order to get this extra logging before your test.
Then, provide the payment log file ( you can send it to contact AT hikashop DOT com ) so that we can review it. It should allow us to narrow down the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #373277

Hi Nicolas
Thank you.
One thing to remember, when we installed HikaShop version 6.6.0. In all of our tests, our order process stalled at Step 1 and would not advance to Step 2 in the checkout process when Next was clicked. We could not complete an order.
We will contact you again after the event.
I have saved the website site files and database zipped up when our site had HikaShop 6.6.0 in the condition I have described in case you might have any use for them for testing in your environment. I can make them available to you if you wish before the event ends.
Thank you for all your help.
Edwin

Please Log in or Create an account to join the conversation.

  • Posts: 86179
  • Thank you received: 14217
  • MODERATOR
1 week 6 days ago #373280

Hi,

"our order process stalled at Step 1 and would not advance to Step 2" -> That's something we already fixed on our end. Download again the install package of the 6.6.0 and use that new version for the update and you won't have the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #373282

Hi Nicolas
Thank you. We will do that.
Have a great weekend!
Edwin

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum