#xisheng2074
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- xisheng2074, 5 days ago, 12 messages
hello! I'm not sure I understand, why do you want to hide the payment method tab, expiration time and CVC label?
hello! What I mean is to display it like this, only allowing card payments
you can create PaymentIntent with payment_method_types as only card and see if that works for you
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, thank you! So how can a Label be hidden?
hmmm, maybe try using floating labels instead : https://stripe.com/docs/elements/appearance-api?platform=web#others
You may also consider using the card element instead which has split fields for each input (i.e. one field for card number, one field for expiry date, and another field for CVC) : https://www.youtube.com/watch?v=gW8b0Y6Ae8o
In this episode, you'll learn from Matt about how use separate card input fields for number, expiry and cvc with Stripe.js and Elements.
Presenter
Matthew Ling - Developer Advocate at Stripe - https://twitter.com/mattling_dev
Resources
Official client library: https://github.com/stripe/stripe-ruby
Official documentation: https://stri...