Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer Notification Email not sent with checkout tag #344

Open
johnny-gruber opened this issue Feb 23, 2023 · 2 comments
Open

Customer Notification Email not sent with checkout tag #344

johnny-gruber opened this issue Feb 23, 2023 · 2 comments
Assignees

Comments

@johnny-gruber
Copy link

Hi There
I've just set up a checkout tag and it works like expected, except for the notification emails. They aren't sent to the customer neither the admin and after the checkout I won't be redirected to the correct success page. My code looks as follows:

{% set description = craft.app.request.get('description')  %}
{% set items = [
    {
        "price": getenv('SHIRT_PRODUCT_ID'),
        "description" : description,
        "quantity": 1,
    }
]
%}

{% set checkoutSession = craft.enupalStripe.checkout(items) %}

<a href="{{ checkoutSession.url }}" class="shirt-configurator__button">NEXT</a>

In the settings I've set the email addresses and craft is able to send emails with SMTP.
Am I missing something? I receive all the orders in my stripe dashboard and I'm able to sync them.

Additional info

  • Craft version: Craft Solo 4.3.10
  • PHP version: 8.0.26
  • Database driver & version: MySQL 5.7.40
  • Plugin version: 5.1.0
  • Is SCA and Stripe Checkout enabled?: Yes and Yes
@andrelopez
Copy link
Member

andrelopez commented Feb 23, 2023

Hi @johnny-gruber could you please recreate the issue and send back to us a zip file of the following folder?

storage/logs

Please send the file [email protected]

@johnny-gruber
Copy link
Author

Hi @andrelopez

I've sent you the logs yesterday. Just as an additional info. It's not working locally in test mode, neither on a live environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants