#rupole1185-Setup

1 messages · Page 1 of 1 (latest)

alpine gust
#

Hi there, how do you collect the payment details in your integration? do you use SetupIntent or Checkout?

opal cave
#

On checkoutn I use "PaymentIntent". Is it different from setupIntent?

alpine gust
#

OK, you can do it with PaymentIntent API as well

opal cave
#

Regarding the details for each client, I am collecting their card details and saving them on Stripe using Woocommerce really

alpine gust
opal cave
#

I am not really understanding. When should I generate this payment intent? When I generate the client or when I want to make the transaction?

alpine gust
#

How do you create a PaymentIntent?

opal cave
#

Currently, every month I create a paymentIntent for the amount due by the client

alpine gust
#

Is it via API or Stripe Dashboard?

opal cave
#

via API

alpine gust
#

So you just need to use setup_future_usage=off_session once to indicate that the payment method can be resused in the future off-session payment. This will trigger 3DS flow (if necessary)

opal cave
#

allright. My issue is that everymonth the payment changes (sometime is higher, sometime lower). I was creating a new paymentIntent every month for this reason ...

alpine gust
#

If it's a recurring payment, you might want to use subscription

opal cave
#

yes, it's recurring but every month with different amount (some months it could be also a 0€ for instance). For this I wasn't using subscriptions but insteady single payments every month

alpine gust
opal cave
#

Ok. This last thing can be the solution of my issues

#

I need to study it and attempt its implementation. Thanks a lot