OpenMage / magento-lts

Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes! Download the source code for free or contribute to OpenMage LTS | Security vulnerability patches, bug fixes, performance improvements and more.
https://www.openmage.org
Open Software License 3.0
863 stars 438 forks source link

Rewrote `payment.js` without prototypejs #4015

Closed fballiano closed 1 month ago

fballiano commented 1 month ago

This PR targets next

payment.js is only used in multishipping checkout, to test this PR you've to enable multishipping in the shipping settings:

Screenshot 2024-05-27 alle 16 05 23

then add a couple of products to the cart, go to the cart page and then click the "ship to multiple addresses" button, then, in the billing section the system will load payment.js:

Screenshot 2024-05-27 alle 16 02 19

I tested it and it doesn't generate any error and it seems to work ok

Screenshot 2024-05-27 alle 16 02 51