Disable button as default. Button gets enabled after all cc form fields are filled out correctly.
Closes #55
Summary
When choosing cc as payment method the place order button should be disabled, until all cc form fields are filled correctly.
This PR changes method evaluateCompletion() in the Magewire CreditCard component to disable the button.
The button is enabled after all fields in the cc form are valid.
Tested scenarios
Tested on Magento 2.4.6-p7 with Hyvä Checkout 1.1.24 and Adyen Hyvä Module 1.0.0
Tested as guest and logged in customer
Tested only with Adyen Test Plattform
Disable button as default. Button gets enabled after all cc form fields are filled out correctly.
Closes #55
Summary
When choosing cc as payment method the place order button should be disabled, until all cc form fields are filled correctly. This PR changes method evaluateCompletion() in the Magewire CreditCard component to disable the button.
The button is enabled after all fields in the cc form are valid.
Tested scenarios
Tested on Magento 2.4.6-p7 with Hyvä Checkout 1.1.24 and Adyen Hyvä Module 1.0.0 Tested as guest and logged in customer Tested only with Adyen Test Plattform
Fixed issue: #-55