Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Edgar Rasquin 326 posts 925 karma points
    Dec 07, 2021 @ 18:05
    Edgar Rasquin
    0

    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:

    enter image description here

    in my case its always "de" in VendrCheckoutOrderConfirmationEmail.cshtml:

    enter image description here

    Thanks

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Dec 08, 2021 @ 08:50
    Matt Brailsford
    100

    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 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.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft