We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d1b25 commit 1a7f72fCopy full SHA for 1a7f72f
Resources/public/js/app/components/mollie-issuer.js
@@ -54,7 +54,17 @@ define(function(require) {
54
},
55
56
getSelectedIssuer: function () {
57
- return '';
+ let issuerListContainer = document.querySelector('#' + this.options.paymentMethod + '-issuer-list');
58
+ if (!issuerListContainer || this.options.paymentMethod.includes("ideal")) {
59
+ return '';
60
+ }
61
+
62
+ let select = issuerListContainer.querySelector('select');
63
+ if (select) {
64
+ return select.options[select.selectedIndex].value;
65
66
67
+ return issuerListContainer.querySelector(this.options.selectors.issuerList).value;
68
69
70
beforeTransit: function(eventData) {
0 commit comments