#cnguyen
1 messages · Page 1 of 1 (latest)
Yes, this is possible You can refer to the doc here: https://stripe.com/docs/payments/quickstart?lang=php
It's about the payment element to mount
Can I customize it like that ?
because, for now, I have all in one line with card element
and with payent element, I have a big block with tabs (can we remove the tabs?)
Payment Element supports multiple payment methods, so tabs will be shown if there are multiple payment methods supported
Are you looking into to collect card payment only?
Payment Intent works for Payment Element and Card Element.
Payment Element allows supporting multiple payment methods. Do you intend to support card payment only, or multiple payment methods?
yes card pauement only
only stripe card
as usual
not the new one (klarna, etc)
If you only want to accept card payment and wish to achieve the above design, you can use separate Card Number Element, Card Expiry Element and Card CVV Element for each individual field and place them according to your design above: https://stripe.com/docs/js/element/other_element
You can refer to the video for the integration guide here: https://www.youtube.com/watch?v=gW8b0Y6Ae8o
ok i check
With that, the behavior is different. I don't have to give the pi_secret to the element form. COrrect ?
And it will attach automatically the pm to the customer too?
👋 taking over for my colleague. Let me catch up.
yes you need to pass the client_secret to the element
to use the pm for future payment your PI should have setup_future_usage param on it either on creation or on confirmation