#leonardo89-setup-intent

1 messages · Page 1 of 1 (latest)

sonic kettle
#

Can you elaborate on what you're asking? Once the setup intent is confirmed, it's ready to be used

late shadow
#

for example

#

I'm using java sdk, i create a setup intent, save the payment method, all ok but what happen with the SetupIntent object, keeps alive

#

or I need to deleted

#

or ..

sonic kettle
#

You can leave it alone after that and just use it for creating off-session payments

late shadow
#

I just used to save the user payment information, I'm using a metered billing subscription

#

I don't think that I needed again

#

if the user change his payment info I create a new SetupIntent

#

let me explain my flow

#

1- First I have an endpoint to create a SetupIntent and return the client_secret

#

2- The user set the card payment information and submit to stripe using Stripe.js

#

3- I wating for the event setup_intent.succeeded in a webhook and create a pay as you go subscription for the user

#

do you thinks this flow is correct

#

???

#

Im trying to implement a metered billing subscription

#

hey, are you there

#

???

#

@sonic kettle ??

sonic kettle
#

Apologies for the wait. I'm juggling many threads

#

Please be patient with me