Comments (5)
Hey Brendan! Can't speak for OP, but I was looking to pre-populate a user's existing payment method information in the form to build a "modify payment method" feature. From looking at the docs again though, it looks like the paymentMethods
setting that's missing from the type definitions only controls basic card and iDEAL settings as opposed to the actual payment information itself. I did some better Googling and learned that this isn't possible to do though 😆
from stripe-js.
+1 ran into this today!
from stripe-js.
What is the value you're trying to set here? I agree the type definition doesn't appear to include paymentMethods
at all, but from the context of your customerState?.paymentMethod
variable, that doesn't sound like it would match the shape in the docs { ideal: { bank: 'abn_amro' }}
. Can you clarify so I can confirm I understand what's needed here?
from stripe-js.
oh whoops, somehow didn't notice that paymentMethods only includes ideal 🙃 I was trying to do the same thing as williamrobertson13
from stripe-js.
Thanks for the replies @williamrobertson13 @kdurgatp. This sounds like an integration issue, and Stripe Support can provide more help with this if you need it.
from stripe-js.
Related Issues (20)
- [BUG]: Payment dialog for swish redirecting on cancel HOT 1
- [BUG]: <svg> attribute height: Expected length, "auto" HOT 1
- Ability to know when the user has invoked the submit button (Embedded Checkout) HOT 6
- [BUG]: Better error handling when using Express Checkout + Apple Pay HOT 2
- [BUG]: Payment element - Placeholder color setting not respected - it's getting overridden with the default HOT 5
- [BUG]: Translation doesn't work on `stripe.verifyIdentity` HOT 1
- [BUG]: Stripe.js Attempting to JSON.parse '[object Object]' HOT 1
- [BUG]: Custom styling fails for Payment Elements (Secure, 1-click checkout with Link) HOT 3
- [BUG]: Stripe.js freezes iOS WKWebView on navigation after visiting external link HOT 5
- Allow to setup API baseURL HOT 3
- [FEATURE]: Cannot style select options in Stripe Elements HOT 1
- [BUG]: Google pay is not recognized in in-app browser (android) HOT 1
- [BUG]: r.stripe.com/b blocked by uBlock origin HOT 2
- [BUG]: Option type missing paymentMethods in elements.create('expressCheckout', options)
- [BUG]: Missing implementation of 'retrieveCardNetworks' method in the package HOT 2
- [BUG]: Missing {card: { network: string[]; }; } is not assignable to type DefaultValuesOption HOT 2
- [REQUEST]: Custom placeholder option for inputs in Address Element. HOT 2
- [BUG]: SetupIntent.NextAction type doesn't have verify_with_microdeposits object type HOT 1
- [BUG]: iframes will not load when you have COEP / COOP set on your site HOT 2
- [BUG]: CardElement not render in IOS + Google App browser HOT 1
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 stripe-js.