#kemal-charge-description

1 messages ยท Page 1 of 1 (latest)

mental iron
#

Hi ๐Ÿ‘‹ apologies for the delay. Sorry, but I don't think I understand the question, our charge objects don't have a description field. Could you try clarifying?

#

@twilit moth just checking to see if you're still here?

twilit moth
#

hi yes i am still here

#

on dashboard i can see '"Invoice 708D2635-0024"'

#

for charge object this is what i see on dashboard

#

I want to set something more relevant what customer subscribed for

fierce silo
#

Thank you for the clarification. Do you have the ID of the charge you are looking at? And are you looking to customize the Invoice ID or just what shows up on this dashboard page?

twilit moth
#

ch_3KPu7TBXEXgJIGE11vwzImd0

#

this is test env charge

fierce silo
#

Thank you, looking in to it

#

So as those docs lay out, you can configure the ID a bit. I am trying to figure out what of this can be set automatically. Otherwise you may have to set these fields manually based on webhook events

twilit moth
#

but did do

#

We are creating these charges through subscription

fierce silo
#

Setting it on the Invoice would likely not copy over automatically to the payment intent

#

Typically in Stripe, data on one object is not copied over to another when it is updated

twilit moth
#

i see, what do you suggest ?

fierce silo
#

It looks like there is not a way to set this automatically, so I would probably say it would be easiest to wait for the invoice.created webhook event and set the PaymentIntent's description there

twilit moth
#

PaymentIntent is being created during payment

fierce silo
#

These PaymentIntents are created when the invoice is created.

#

The Charge objects are created when payments are attempted but those are slightly different and don't have a description field

twilit moth
#

ok i see , I ll try to set on payment intent

#

thank you!

fierce silo
#

Of course, good luck