I'm on localhost/papercut and the confirmation Email is not beeing send anymore.
It was before but I don't know what I changed that stoped it from sending.
Is there a way of debuging it in VS? When I set a breakpoint in VendrCheckoutOrderConfirmationEmail.cshtml it is never reached.
It is only the case when using certain payment methods i.e. paypal or stripe. Using invoicing is working fine. Same when I manually send Emails from orders in the backend.
Maybe there is a problem with the Webhook URL?
I also recognized that no matter what language I choose when sending confirmation mails from the backend:
in my case its always "de" in VendrCheckoutOrderConfirmationEmail.cshtml:
Regarding the language always being de this is because you are looking at the orders LanguageIsoCode property which will always be the language the order was placed in. The language you select in the send email dialog purely affects the Thread culture when the email template is being rendered.
VendrCheckoutOrderConfirmationEmail.cshtml
Hi Matt,
I'm on localhost/papercut and the confirmation Email is not beeing send anymore. It was before but I don't know what I changed that stoped it from sending. Is there a way of debuging it in VS? When I set a breakpoint in VendrCheckoutOrderConfirmationEmail.cshtml it is never reached.
It is only the case when using certain payment methods i.e. paypal or stripe. Using invoicing is working fine. Same when I manually send Emails from orders in the backend.
Maybe there is a problem with the Webhook URL?
I also recognized that no matter what language I choose when sending confirmation mails from the backend:
in my case its always "de" in VendrCheckoutOrderConfirmationEmail.cshtml:
Thanks
Hi Edgar,
If it's only on Stripe / PayPal that this isn't sending then yes, it's likely a webhook issue.
Be sure to review the docs here regarding how to test webhooks locally https://vendr.net/docs/payment-providers/stripe/2.0.0/stripe-checkout/how-to-guides/testing-stripe-webhooks-locally/
Regarding the language always being
de
this is because you are looking at the ordersLanguageIsoCode
property which will always be the language the order was placed in. The language you select in the send email dialog purely affects the Thread culture when the email template is being rendered.Matt
is working on a reply...