chec / commercejs-nextjs-demo-store

Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
https://commercejs-demo-store.netlify.app/
BSD 3-Clause "New" or "Revised" License
1.07k stars 206 forks source link

SendGrid integration - Error 500 #290

Open lborruto opened 2 years ago

lborruto commented 2 years ago

Hi, trying to add SendGrid integration but always get this error when sending the login mail:

Server error: `POST https://run.chec-integrations.io/int_xxxxxxxxxxx` resulted in a `500 Internal Server Error` response:
Integration error: TypeError: Cannot read property 'customers.login.token' of undefined

Everything works fine with the default email system from Chec, I tested earlier and I'm able to connect without any issues.