#adil
1 messages · Page 1 of 1 (latest)
you can embed the PaymentElement in your payment page instead of a redirect to Checkout if that works better for your use case!
could you please give me the example
I need popup for card details like old one was having
@mortal terrace you have to create a payment intent and use, Before that get all payment methods of that customer and take latest successful payment id the id will starts like "pm_odhfjdfv" somethuing like this
finally:
now you have payment method id and payment intent id use these to to confirm the payment thats all i Hope this will work
that part is ok. I need payment modal on same page but as popup like the old one
I would start by integrating the PaymentElement and getting it working following the guide linked above, and then later you can try to implement your own popup/modal and move the code for the PaymentElement into it.
I already tried but I am facing CSS confilict do stipr has payment modal that loads on button click?
nope!
if you want an easy option, we recommend using Checkout or our no-code options like PaymentLinks https://stripe.com/docs/no-code