You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the guide, we recommend using payment-element and present it as the default path. In our friction log, we tried to change it to use payment-element to get a nicer looking payment form page:
Had to rearrange code in a few different ways from sample app
To get and use clientSecret
To have const elements available outside of fetch statement
Stripe is also instantiated only w/in fetch statement
But we ultimately had to give it up and revert to the card-element.
Ideally, this sample app would contain the payment element code.
Bug reportFeature requestCurrently, the sample app uses the
card-element
for the payment form/registration page:In the guide, we recommend using
payment-element
and present it as the default path. In our friction log, we tried to change it to usepayment-element
to get a nicer looking payment form page:But we ultimately had to give it up and revert to the
card-element
.Ideally, this sample app would contain the payment element code.
Additional context
The text was updated successfully, but these errors were encountered: