#kashi3029
1 messages · Page 1 of 1 (latest)
Because they have credit, the credit will offset the price and he will end up not paying, hence there is no PaymentIntent
That's expected
So how can I confirm payment
stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: configData?.returnUrl,
},
});
in this funtion I will need client secret to confirm paymenr
You don't. There is no payment to made at this time.
You can consider to collect a SetupIntent
then use the confirmed SetupIntent to take the PaymentMethod, to start the Subscription
can I call webhook event from frontedn side?