#secret_lil_squirrel

1 messages · Page 1 of 1 (latest)

red depotBOT
knotty egret
#

Hello! No, there isn't.

devout topaz
#

Darn... I'm trying to create a report that would include some of the custom fields from a checkout session. How can I get those stored somewhere in Stripe that I can retrieve them?

knotty egret
#

You can access those via the API.

devout topaz
#

I see them in Stripe on the Payment object under the "checkout summary" but that information isn't included when I export payments.

#

Do you mean retrieving them individually via the API? Or is there a way to retrieve them in bulk?

knotty egret
#

No, you would need to retrieve them individually.

devout topaz
#

That's a bummer. When a checkout session completes, can I write the custom fields as metadata on the PaymentIntent?

knotty egret
#

You could listen for checkout.session.completed Events and write metadata at that point, yep.

devout topaz
#

Ok that's what I figured, but there isn't some setting when creating a checkout session that would automatically do this?

knotty egret
#

No.