#daniell_74820

1 messages ยท Page 1 of 1 (latest)

waxen creekBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

jolly creek
#

What company information are you referring to and how do you collect it?

opal gorge
#

I collect it from stripe checkout (stripe hosted). If click to checkbox, that you want to buy as company, you have to give your company name und the VAT ID. I want to access this on my backend, in the webhook events: 'checkout.session.completed' and 'checkout.session.async_payment_succeeded'?

waxen creekBOT
opal gorge
#

Here is the screenshot from stripe checkout

jolly creek
#

Gotcha looking

#

Do you have the checkout session id?

#

But would need a session to confirm

opal gorge
#

in the webhook I get this: id: 'cs_test_a1UDSI3B7rdlSkZLMWDlKxvzLwhuQRHAIX2WrHmm52Ozn8TwhWf615Nff8',
object: 'checkout.session',

jolly creek
#

Yup I see it in that customer_details hash

opal gorge
#

Okey, I am now checking the link

#

I got this line: tax_ids: [ [Object] ] as Response from stripe

rapid lagoon
#

๐Ÿ‘‹ hopping in here since codename_duchess has to head out

opal gorge
#

I think this is an object/array. I do iterate over it and see what i get.

rapid lagoon
#

๐Ÿ‘