#Julio-invoice

1 messages · Page 1 of 1 (latest)

ember stone
#

Hi there! Are you planning on using send_invoice or charge_automatically for your collection method?

heavy sparrow
#

charge_automatically i guess

ember stone
#

Gotcha. So yeah you can't add setup_future_usage to an invoice's PaymentIntent. Instead in this case you would want to attach the card to the customer first and then pay the invoice.

heavy sparrow
#

hum too bad

#

i'll try another way, i'm doing this so the react)native payment sheet can display the checkbox "Save for later payment"

ember stone
#

Ah

#

In that case you want to use a SetupIntent

#

To collect card details with PaymentSheet

#

And then charge the invoice

heavy sparrow
#

but wit ha setupintent, i have no "checkbox"

ember stone
#

No?

#

I haven't played with PaymentSheet in a while

#

But I thought it indicated the card would be saved if you use SetupIntent

#

I could be wrong

heavy sparrow
#

can you check this please ? i think it does not indicate it, but i might have missed some parameters

ember stone
#

Sure let me check

#

Ah you are right. The difference is that the Button says "Set up"

#

But yeah there is no "checkbox" since there is no actual option here

heavy sparrow
#

yeah that's it

#

ok i'll find another way then