#adil

1 messages · Page 1 of 1 (latest)

fallen loomBOT
shut steeple
#

you can embed the PaymentElement in your payment page instead of a redirect to Checkout if that works better for your use case!

mortal terrace
#

could you please give me the example

#

I need popup for card details like old one was having

timber lynx
#

@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

mortal terrace
#

that part is ok. I need payment modal on same page but as popup like the old one

shut steeple
#

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.

mortal terrace
#

I already tried but I am facing CSS confilict do stipr has payment modal that loads on button click?

shut steeple
#

nope!

fallen loomBOT