Skip to content

Commit

Permalink
fix: initialize payment method properly
Browse files Browse the repository at this point in the history
  • Loading branch information
amihajlovski committed Jul 29, 2024
1 parent 3bdc0b8 commit a821c70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cartridges/app_adyen_SFRA/cartridge/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ class Store {
}

updateSelectedPayment(method, key, val) {
if (!this.componentsObj[method]) {
this.componentsObj[method] = {};
}
this.componentsObj[method][key] = val;
}
}
Expand Down

0 comments on commit a821c70

Please sign in to comment.