This MR corrects the following error: The order wasn't placed. First, agree to the terms and conditions, then try placing your order again.
Until now the agreeements were retrieved via the variable window.checkout.agreementIds, this variable does not exist (in Adyen and Magento), the agreements are passed directly in the data-mage-init.
💎 I passed the properties of the AbstractButton class to protected in order not to dupplicate the code in the children class:)
Fixed issue: #66
:warning: This fix must be implemented in Adyen v8 (1.x) and v9 (2.x) please !
This MR corrects the following error:
The order wasn't placed. First, agree to the terms and conditions, then try placing your order again.
Until now the agreeements were retrieved via the variable
window.checkout.agreementIds
, this variable does not exist (in Adyen and Magento), the agreements are passed directly in thedata-mage-init
.💎 I passed the properties of the AbstractButton class to protected in order not to dupplicate the code in the children class:)
Fixed issue: #66
:warning: This fix must be implemented in Adyen v8 (1.x) and v9 (2.x) please !