#ballisticeel_api

1 messages ยท Page 1 of 1 (latest)

twin umbraBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1401897956478812311

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

quick kite
#

๐Ÿ‘‹ happy to help

#

I have a custom field for Vehicle Registraion
do you mean on a Checkout Session?

nova pagoda
#

But can't seem too get that data over api

quick kite
#

because you're checking the PaymentIntent instead of the Checkout Session

nova pagoda
#

i tried checkout session, but failed to see my custom field, should i be using webhook?

quick kite
#

what's the checkout session ID?

#

you need to retrieve the Checkout Session by ID (e.g. cs_live_a1XciAg1LML2NmbRmifwIG2LgyNEYp43GaVfFptidnIGvfSdOR0p8gPQYH)

#

and then you can access custom_fields[0].text.value

nova pagoda
#

ok thanks, let me have a play.

twin umbraBOT
nova pagoda
#

thank you so much guys, got it workin jus how i want now.

glass jacinth
#

Sure, happy to help

nova pagoda
#

i feel like i should probably use a webhook, but wasn't able to work them out yet

#

I started, but there was no resend event button to test it with

glass jacinth
nova pagoda
#

i tried, but i needed an event id for a transaction, and wasn't able t find anything starting with evt

#

i will give it another go another day when i am more clear headed and not in api mode