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.
2 parents fe4959c + 3ea5e91 commit 7427e6cCopy full SHA for 7427e6c
app/code/Magento/Vault/view/frontend/web/js/view/payment/vault.js
@@ -23,6 +23,12 @@ define(
23
type: index,
24
config: config.config,
25
component: config.component,
26
+ /**
27
+ * Custom payment method types comparator
28
+ * @param {String} typeA
29
+ * @param {String} typeB
30
+ * @returns {boolean}
31
+ */
32
typeComparatorCallback: function (typeA, typeB) {
33
return typeA.indexOf(typeB) === 0;
34
}
0 commit comments