#noro0x01
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.
- noro0x01, 4 hours ago, 9 messages
Hi, let me help you with this.
I am not sure I follow. You mean collecting bank details?
No - To show user a glimpse of their card details on frontend. like VISA **** 1234
<CardNumberElement options={options} />
<CardExpiryElement options={options} />
<CardCvcElement options={options} />
It's not possible to pre-fill card data with Elements. You can use the last4 property of the Payment Method object and show it in your own UI: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-last4
Well it being used in a project. Being imported from:
import { useStripe, useElements, CardNumberElement, CardCvcElement, CardExpiryElement } from '@stripe/react-stripe-js';
I just wanna know if there's any alternative set of elements which can be used to render ACH Direct Debit details instead of card details.
Stripe Elements shouldn't be used to display saved Payment Methods. You have to do it with your own UI.
Alright thanks!
Happy to help.