1
Simple step missing on the setup of this. I needed to actually assign this email to the status New, to send when a New order is placed, in the Order Statuses section, as per this documentation. So simply a case of RTFM:
https://craftcms.com/docs/commerce/3.x/order-status-emails.html#selecting-an-email
1
OK, this was caused by a simple oversight on my part. To simplify matters for anyone else trying to set up Stripe, here is your checklist:
In your templates
Verify that you are using the latest version of JQuery.
Verify that you are NOT using deprecated onLoad. It should be $('#paymentMethodId').on('load', function(){, not $('#paymentMethodId').onLoad(...
1
I have now updated this code for Craft Commerce 2:
{% set codeError = null %}
{% set cartProductIds = [] %}
{% set discountCodeOK = null %}
{# THIS CHECKS THE DISCOUNT CODE FOR IF THERE ARE ANY VALID/ELIGIBLE PRODUCTS IN THE CART #}
{% set currentDiscount = craft.commerce.discounts.discountByCode(cart.couponCode) %}
{% if currentDiscount %}
{% for item in ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
plugin-craftcommerce × 755plugin-development × 73
craft3 × 50
ecommerce × 47
plugin-craftcommerce2 × 38
templating × 33
order × 24
plugins × 21
shipping × 20
plugin-craftcommerce3 × 19
products × 18
discounts × 15
categories × 14
payment-methods × 14
adjusters × 12
custom-field × 10
stripe × 10
ajax × 9
relations × 8
form × 8
php × 8
emails × 8
events × 8
validation × 8
pdf × 8