VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ukfish1 on May 09, 2022, 14:22:45 PM

Title: Confirmation emails not being received
Post by: ukfish1 on May 09, 2022, 14:22:45 PM
Koomla 3.10.8
VM: 3.8.8
PHP: 7.3.3

Just copied our the site over to test domain to update joomla, VM and various other bits of the site. When we now place orders we are not getting any confirmation emails to say an order has been placed although the orders are shling in the VM backend.

Any ideas why this might be?

Not sure whether it has anything to do with users. In the VM  (shop >> shopper information) the config , the vendoir check box is ticked. There are no details in the email, username and displayed name fields. When i try to complete these using the superuser login details for Joomla I get this error.

vmError: There is a serious problem with your store, there are entries with the same virtuemart_vendor_id 1 enable the vmdebug or check your virtuemart log files and fix it immediatly. Use the setStoreOwner function in Tools and Migration
vmError: storing user data
vmError: Was not able to save the VirtueMart user data

Thanks

Paul
Title: Re: Confirmation emails not being received
Post by: Jörgen on May 09, 2022, 15:20:46 PM
http://forum.virtuemart.net/index.php?topic=143921.0 (http://forum.virtuemart.net/index.php?topic=143921.0)
http://forum.virtuemart.net/index.php?topic=143662.0 (http://forum.virtuemart.net/index.php?topic=143662.0)

Jörgen
Title: Re: Confirmation emails not being received
Post by: ukfish1 on May 10, 2022, 10:21:23 AM
many thanks. I'll check them out.

paul
Title: Re: Confirmation emails not being received
Post by: ukfish1 on May 10, 2022, 14:46:21 PM
So I have managed to set rid of this error:

vmError: There is a serious problem with your store, there are entries with the same virtuemart_vendor_id 1 enable the vmdebug or check your virtuemart log files and fix it immediatly. Use the setStoreOwner function in Tools and Migration
vmError: storing user data
vmError: Was not able to save the VirtueMart user data

We are still however not getting confirmation emails sent when an order is placed to either the vendor or shopper.

In the "Default Order Status to send email to vendor" we have pending option enabled. The last order we placed is showing in the VM backend  as pending even though we received an email from our payment gateway (stripe) to say the order had been placed.

Thanks

Paul
Title: Re: Confirmation emails not being received
Post by: Jörgen on May 10, 2022, 16:09:23 PM
Pending is because the callback from stripe does not work.
I would check settings for the stripe payment. Your callback url is probably wrong.
Jörgen
Title: Re: Confirmation emails not being received
Post by: ukfish1 on May 12, 2022, 11:15:16 AM
many thanks. I;ll check it out

Paul
Title: Re: Confirmation emails not being received
Post by: ukfish1 on May 12, 2022, 12:17:23 PM
Ok, so we have changed the endpoint URL in Stripe to match the website address .

the situation now when we place an order is.

1. Orders show in the backend of the website as confirmed.
2. We receive an email from stripe saying the order is confirmed and payment is taken.
3. NO confirmation emails are received by either the vendor or the shoper coinfirming an order has been placed.
4. If we update the order to say cancelled, emails ARE received by the vendor and the shopper to say the order has been cancelled.
5, An email is received from Stripe refunding the payment

So the only thing that is not wortking is confirmation emails being sent when the order is first placed.

Thanks, Paul
Title: Re: Confirmation emails not being received
Post by: Jörgen on May 12, 2022, 12:38:47 PM
If you have set options for receiving email in VM configuration correctly and the stripe payment option has correct order status option setup (confimed not pending), then there is time to talk to your stripe payment method provider.

Jörgen
Title: Re: Confirmation emails not being received
Post by: ukfish1 on June 28, 2022, 08:57:27 AM
Hi

We have spoken with Stripe and the developer of the Stripe payment gateway plugin and both have checked that all the settings relating Stripe payment method are correct.

the latest situation is we are receiving confirmation emails as expected for all order types apart from PENDING.

Joomla emails are obviously correctly configured ad we are receiving mails when an order is confirmed etc.

Is there anything further we should check.

Regards

Paul


Title: Re: Confirmation emails not being received
Post by: Jörgen on June 28, 2022, 09:33:18 AM
Pending emails are not sent to customer. I think You can configure this for vendor.
Please make a new status and assign Pending_payment or whatever and assign emails to this if needed.

Jörgen
Title: Re: Confirmation emails not being received
Post by: ukfish1 on October 10, 2022, 14:52:37 PM
As an update to this issue, we are still not able to get emails sent to the vendor for pending orders.

More importantly, emails for confirmed orders have now stopped being sent again to the vendor. We have 10 orders in the backend of VM but no confirmation emails have been received for these. Priory to this the confirmed emails were being sent OK.

We have not updated Joomla or Virtunemrt so cannot work out why this has recently happened.

Regards

Paul
Title: Re: Confirmation emails not being received
Post by: ukfish1 on October 12, 2022, 09:05:32 AM
any ideas?

Paul
Title: Re: Confirmation emails not being received
Post by: GJC Web Design on October 12, 2022, 10:26:09 AM
The only way you are going to solve this is by testing ... we have no access either to your install or to your email...

there are tools there to test and you have to methodically go through the sequence until you pinpoint what is happening..

You say u have changed nothing yet suddenly the emails have stopped ... therefore it is highly unlikely to be VM... checked your mail server? spam? mail trace? Joomla mail tested?
Done test orders? test emails?

As mentioned many times here ... the payment plugin is responsible for changing an orders status to one that you have configured will send an email.

If you change an order manually to that status an email will be triggered. Is it?

Title: Re: Confirmation emails not being received
Post by: ukfish1 on October 15, 2022, 10:35:58 AM
Hi

Thanks for your advice.

After further testing, it appears as though the orders are being received OK but remain as "pending" in the backend of VM.

If we change the order manually to "confirmed" the confirmation emails are indeed sent out.

So as you say, this would therefore suggest the problem is with the stripe payment plugin and not Virtuemart?

Thanks

paul;


Title: Re: Confirmation emails not being received
Post by: Jörgen on October 15, 2022, 11:38:36 AM
Quote from: Jörgen on June 28, 2022, 09:33:18 AM
Pending emails are not sent to customer. I think You can configure this for vendor.
Please make a new status and assign Pending_payment or whatever and assign emails to this if needed.

Jörgen

Stripe plugin or your settings.

;)
Jörgen
Title: Re: Confirmation emails not being received
Post by: ukfish1 on October 22, 2022, 10:19:07 AM
update to this situation

We have checked with the Stripe plugin developer and they say that evening is set up correctly and it is not a problem with either of them.

However, we still have a situation where orders that are showing as either pending or confirmed in the backend of the website are not triggering the confirmation emails to the vendor or the shopper. We have to manually change the setting to £confiemd by shopper" to get the emails to trigger.

Also, we have set up a PayPal payment method and placed some orders using this which triggers the confirmation emails as expected so it is definitely has something to do with Stripe payments.

This problem first started around 14th September. Prior to that everything was working correctly. We have even reinstated a backup of the website from 14th September to see if that fixed everything but it did not. That again tends to suggest it is nothing to do with the website set-up but something external.

Any further help would be greatly appreciated as we do not really know where to go with this now.

If anyone would be interested in doing some aid work to try and resolve this, we would be interested to hear from you.

Thanks

Paul





Title: Re: Confirmation emails not being received
Post by: GJC Web Design on October 22, 2022, 14:52:05 PM
so your saying that Stripe doesn't set the status to "Confirmed by Shopper"  or anything else and the order remains on "Pending"?

Surely in any case Stripe should be setting it to "Confirmed" if the client did pay for it...

IMHO "Confirmed by Shopper" is a status meaning that the client confirms they want to order and pay but haven't done so yet...

Mind you any status except "Pending" can be configured to send emails to the client and what a status actually means is of course up to you..
Title: Re: Confirmation emails not being received
Post by: ukfish1 on October 23, 2022, 16:57:27 PM
Stripe changes the status to confirmed from pending after successful payment. However, this does not trigger the confirmation emails to be sent to the vendor and shopper as it did prior to 14th September.

In fact, even though we have the status pending as a status to send an email to the vendor, it never did that either.

We can only trigger the confirmation emails by manually changing the status to confirmed by shopper. We don't; really want to sue this status but it is the only way to get the emails sent.

the situation is really odd. It was working on 14th September and if we use PayPal as the payment method it triggers the confirmation emails OK.

Do you know anyone (or yourself) who would be prepared to take a look for us. We are going round in circles and not getting anywhere. We would pay for any time if needs be.

Cheers

Paul






Title: Re: Confirmation emails not being received
Post by: karnaahai on October 28, 2022, 13:13:58 PM
We have 10 orders in the backend of VM but no confirmation emails have been received for these. Priory to this the confirmed emails were being sent OK.

I'm a spammer install vidmate (http://"https://get-vidmateapp.com/home/") get-mobdroapk.com (http://"https://get-mobdroapk.com")
Title: Re: Confirmation emails not being received
Post by: ukfish1 on November 22, 2022, 09:52:28 AM
Karnaahai - did you resolve the issue? If you change the status of the order manually does it send the order confirmation emails?

We are still in the same position as before ie...

Orders are being received as normal and show in the backend but although payment has been made via Stripe, the order is showing as Confirmed. NO order confirmation emails are sent to the shopper or the vendor. If we change the order status manually to confirmed by shopper this triggers the email confirmations to the vendor and shopper. This is the only way we can currently get the emails to send.

If we use PayPal rather than Stripe, order confirmation emails are sent as normal. The issue therefore obviously has something to do with Stripe and the website linking to it via the payment plugin but both Stripe and the plugin developer say it has nothing to do with them.

Any further thoughts would be greatly appreciated.

Paul