Comments (2)
Hi @marinaprec,
I think in this case it could be caused by the paymentMethodsResponse
being a string, instead of an object. Could you try removing the "
quotes? As in:
const paymentMethodsResponse = {'groups':[{'name':'Credit Card','types':['visa','mc','amex','maestro','diners','discover']}],'paymentMethods':[{'brands':['visa','mc','amex','maestro','diners','discover'],'details':[{'key':'encryptedCardNumber','type':'cardToken'},{'key':'encryptedSecurityCode','type':'cardToken'},{'key':'encryptedExpiryMonth','type':'cardToken'},{'key':'encryptedExpiryYear','type':'cardToken'},{'key':'holderName','optional':true,'type':'text'}],'name':'Credit Card','type':'scheme'},{'name':'PayPal','supportsRecurring':true,'type':'paypal'},{'details':[{'key':'sepa.ownerName','type':'text'},{'key':'sepa.ibanNumber','type':'text'}],'name':'SEPA Direct Debit','supportsRecurring':true,'type':'sepadirectdebit'},{'name':'SEPA Bank Transfer','supportsRecurring':true,'type':'bankTransfer_IBAN'}]};
If you have any other question about our integrations, please contact our support team.
from adyen-components-js-sample-code.
This is my source, you can see that paymentMethosResponse is a JSON, but when checkout in instancied there is nothing in paymentsMethods:
from adyen-components-js-sample-code.
Related Issues (20)
- /* Invalid asset path */ HOT 1
- [BUG] onReady() is not executing on version 3.3.0 HOT 1
- [BUG] Drop-in details configuration not working on version 3.3.0 HOT 2
- /payment HOT 3
- DropIn Pay Button text configuration is not working HOT 1
- [BUG] securedfields component not respecting brands config HOT 1
- AdyenCheckout as a NPM-package HOT 2
- showPayButton: false doesn't work on PayPal HOT 1
- brands array only detects amex,mc,visa (default values) HOT 1
- AdyenDropIn [Violation] 'setTimeout' HOT 4
- Missing /api/clientKeys HOT 1
- Unsupported card entered for test card HOT 2
- Initialization in angular app, cannot refer target DOM element HOT 1
- 3D Secure example con credit card HOT 1
- Example for Momo HOT 1
- Usage with React Native HOT 1
- Issue with onValid callback beeing executed multiple times HOT 1
- Does this support billing address HOT 1
- Drop In new AdyenCheckout, paymentMethodsResponse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adyen-components-js-sample-code.