File tree 2 files changed +2
-1
lines changed
src/web/assets/elementsform/js
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Fixed a bug where legacy default payment methods were not being set as default. ([ #280 ] ( https://github.com/craftcms/commerce-stripe/pull/280 ) )
6
6
- Fixed a bug that could cause duplicate payment sources to be created. ([ #281 ] ( https://github.com/craftcms/commerce-stripe/pull/281 ) )
7
+ - Fixed a bug where it wasn’t possible to access the Stripe instance from JavaScript. ([ #275 ] ( https://github.com/craftcms/commerce-stripe/issues/275 ) )
7
8
8
9
## 4.1.0 - 2023-12-19
9
10
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ function initStripe() {
298
298
container . dataset . publishablekey ,
299
299
container
300
300
) ;
301
- container . dataset . handlerInstance = handlerInstance ;
301
+ container . handlerInstance = handlerInstance ;
302
302
handlerInstance . handle ( ) ;
303
303
} ) ;
304
304
}
You can’t perform that action at this time.
0 commit comments