#Whip-PaymentElements
1 messages · Page 1 of 1 (latest)
heya @limpid quail, it's a request that we've had from a number of users for the newly released Payment Element component to allow the Payment Element to be initialized without a client_secret.
For subscriptions, what you can do is to use SetupIntents to collect the card details to be attached to the Customer. Then create the Subscription subsequently with the Customer whom would already have a PaymentMethod.
If you really need to initialize the Element component without a client_secret, it's not currently possible with Payment Elements, but if you want, you can integrate with the previous Element component which allows for this. The previous Element component wouldn't allow you to easily integrate different kinds of PaymentMethods though.
By "previous Element component" you mean the card element?
yep, this is the guide : https://stripe.com/docs/payments/accept-card-payments?platform=web&ui=elements
Thanks. I hope you make an option to provide client_secret later on