-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
ConfirmedIssue is confirmed and needs fixIssue is confirmed and needs fixEnhancementNew feature or requestNew feature or request
Description
Summary
paymentMethod.fundingSource from Adyen Web Components (v6.28.0) always returns "credit" in onChange/state data, regardless of using credit, debit, or prepaid test cards. We need to distinguish credit vs debit vs prepaid for compliance, but cannot rely on fundingSource.
We added splitCardFundingSources: true to the Session POST in the Backend.
Choose different CreditCards from here:
https://docs.adyen.com/development-resources/test-cards-and-credentials/test-card-numbers
Environment
- Adyen Web Components: 6.28.0
- Integration: Sessions flow (web components)
- Component: Card (
new Card(adyenCheckout, cardConf)), notcheckout.create
onChange of the CardConf
onChange: function (state) {
const fundingSource = state.data.paymentMethod.fundingSource;
console.log('Funding Source:', fundingSource); // always returns 'credit'
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ConfirmedIssue is confirmed and needs fixIssue is confirmed and needs fixEnhancementNew feature or requestNew feature or request