#Th3FalleN
1 messages ยท Page 1 of 1 (latest)
Hi ๐ off-hand I don't think it is possible to adjust and combine our Elements to make them appear exactly as they do here.
Is there something specific about the current appearance of the Elements mounted on your site that you would like to change?
essentially we're trying to do a 3 step checkout where they enter email and shipping stuff and hit next, then it takes that info an collapses into that view. then asks for payment and collapses
but the issue im running into is the payment element only returns type: card when it's complete (which is reasonable for security)
That's right, the Payment Element does not broadcast its contents in change event. To have access to information such as the last4 of a card before a payment is processed, you'll need to have your flow create a Payment Method before processing the payment.
๐ thanks for the info