#PERF

1 messages ยท Page 1 of 1 (latest)

mental belfryBOT
weak basin
#

example PI - > pi_3N0tbDFdV4bT3T5F0ejUR4Xk

magic pecan
#

Hi, taking a look

weak basin
#

it is just set to null

"setup_future_usage": null,
#

wondering what the default is

magic pecan
#

Can you rephrase the question here?

magic pecan
#

Happy to help further if you can add more details here @weak basin

weak basin
#

umm

#

in the dashboard the field setup_future_usage is null.

magic pecan
#

What was your expectation?

weak basin
#

I wondering how that is interpreted when say adding a new payment method when updating the payment intent.

magic pecan
weak basin
#

I never pass it, i am expecting to be blank

#

when confirming

magic pecan
#

I never pass it, i am expecting to be blank

Then in this case, it would be null

weak basin
#

yea...

#

so is that off_session or on_session?

#

or neither?

#

and if neither what does that mean

magic pecan
#

Neither because you're not setting setting this for future usage

#

This means that you can't use that payment method for future payments

weak basin
#

ok so it should not save it at all

magic pecan
#

I do not know what 'save' means in this sense, but if you try to use that payment method again, it will error out.

mental belfryBOT
tall sonnet
#

PERF

weak basin
#

add to customer

tall sonnet
#

๐Ÿ‘‹ hi again! We chatted about this a bit yesterday. That's correct, if you don't use setup_future_usage, it's not possible to attach the PaymentMethod to a Customer object and use that PaymentMethod for future charges

weak basin
#

thank you. For some reason ii was wondering what null was vs something else. But i am just being slow this week thanks again for all the info