Closed martinalong-stripe closed 6 months ago
Users will now be able to use onLoadError on the card and cardNumber elements:
cardElement.onLoadError((e) => console.log(e)); cardNumberElement.onLoadError((e) => console.log(e));
https://docs.google.com/document/d/1ZoI--5Uuiy9j_FfEJauL9i_X5vf7miEsHIOp-2JS0eY/edit
I wrote unit tests
Will update the documentation when we release the feature
Summary & motivation
Users will now be able to use onLoadError on the card and cardNumber elements:
API review
https://docs.google.com/document/d/1ZoI--5Uuiy9j_FfEJauL9i_X5vf7miEsHIOp-2JS0eY/edit
Testing & documentation
I wrote unit tests
Will update the documentation when we release the feature