Repository navigation
Releases: polettoespana/carttrigger-stripe
Releases · polettoespana/carttrigger-stripe
Release list
v1.8.1
v1.8.0
WooCommerce Blocks checkout support
v1.7.2
Fixes
- Fix: ECE amount not updated after coupon applied on cart page — woocommerce_cart_fragments hook added alongside woocommerce_update_order_review_fragments so the cart amount fragment is sent on cart page too.
- Fix: after wc_fragments_refreshed, read updated amount from WC sessionStorage and call elems.update({ amount }) on mounted ECE containers instead of remounting.
v1.7.1
- Fix: added receipt_email to PaymentIntent args (checkout and Express Checkout) — Stripe always sends the receipt to the billing email without relying on the dashboard setting.
- Fix: receipt_email only included when non-empty to avoid Stripe API errors in Express Checkout flows where the wallet may not provide an email.
- Fix: T&C validation error now shown in #ctstripe-errors on checkout when pressing an express payment button without accepting terms.
- Fix: NIF notice in cart was invisible — replaced showError() (targeting #ctstripe-errors which does not exist outside checkout) with a notice injected next to the ECE container, with a direct link to checkout.
- Added .ctstripe-nif-notice style in checkout.css.
- Full internationalisation: all strings converted to English and wrapped with __().
- Added Text Domain (carttrigger-stripe) and load_plugin_textdomain().
- Complete Italian (it_IT) and Spanish (es_ES) translations — .po and .mo files included in languages/.
- JS NIF strings passed from PHP via wp_localize_script (ctstripe.i18n).