swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

fix: send $reset_async_payment command for payment after authenticate #155

Closed awwit closed 7 months ago

awwit commented 7 months ago

Reset the payment status after authorizing the transaction. This is necessary to update the payment status after retrying payment.

Fixed a bug where payment status was retrieved from the wrong object.

Test added: should reset async payment after authenticate.

Eslint is added and configured.

Updated dependencies for building the module: rollup and plugins.

Updated babel and webpack.