#stasiekz-descriptors

1 messages · Page 1 of 1 (latest)

unborn wave
#

hi! as far as I know, no. The descriptor used comes from the Product you use for the Price in the line_items

nimble fox
#

Ok, I see. There is a business need to set the suffix dynamically so that it contains an ID. It seems like the only way to do it is to update payment intent with the statement_descriptor_suffix on payment intent created webhook then

#

Does it sound like a proper approach?

unborn wave
#

nope, that won't work

#

it won't let you update the PaymentIntent created internally by Checkout/the Invoice that way

nimble fox
#

Ok, I see. So is there any workaround to set a dynamic value there?

unborn wave
#

not really when using Checkout like this. I'd try to avoid the requirement

#

failing that, there are only workarounds like creating a Product+Price dynamically for each CheckoutSession and passing that in