#mensch6043_unexpected

1 messages ยท Page 1 of 1 (latest)

inner hamletBOT
#

๐Ÿ‘‹ 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/1421159199152541746

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

shadow harbor
#

Here you can see Tax is 0$, but the billing address is set to Nevada which has sales tax.

slim vapor
#

Hi there, we're looking into this now

shadow harbor
#

Thank you sir

pearl peak
#

๐Ÿ‘‹ Changing of the guard here, I'll be taking over for nobs. Would it be possible to provide an example request id for Checkout Session creation

shadow harbor
#

Like this: test_a1rMHXCjBasycp2EUxB5f256vDK2tfbab406t0egLR2FjUZT7hM7bTsWMK
Or is that something different ?

#

The request is structured like this

const session = await stripe.checkout.sessions.create(
    {
      mode: 'payment',
      ui_mode: 'embedded',
      line_items: lineItems,
      customer_email: invoice.customerEmail ?? undefined,
      return_url: returnUrl,
      automatic_tax: { enabled: true },
      metadata: {
        invoiceId: invoice.id.toString(),
        invoicePublicId: invoice.publicId,
        companyId: company.id.toString(),
      },
    },
    { stripeAccount: company.stripeAccountId }
  );

pearl peak
#

the request id's can be found in your logs on the Dashboard and start with req_

#

Also if you could provide the account ids for both the platform and connected account in question

shadow harbor
#

Connected account in question id: acct_1SBGVUFDz5I9caFD
Platform id: acct_1RxqrhF28T3qhET7
the request id is: req_B6krIL5wvBtx5G

pearl peak
#

Apologizes I should have been more specific, was looking for a Checkout Session creation request, I should be able to pull one up with the account IDs though.

shadow harbor
#

I'm not very good at this, I will be hoping you can :))

#

We also have created so many test accounts that its quite a challenge to track it down

pearl peak
#

I should be able to ๐Ÿ™‚ Will just need a moment to track one down.

pearl peak
#

Appreciate the patience still digging

shadow harbor
#

No rush ๐Ÿ™‚

pearl peak
#

Looks like you might not have default tax_behavior specified in your settings
https://dashboard.stripe.com/acct_1RxqrhF28T3qhET7/test/tax/overview

This is the fall back when a tax_behavior isn't set on the product.

Reviewing the checkout session it looks like the tax behavior is unspecified. So it might be that it doesn't know if the tax should be exclusive or inclusive of the price.

shadow harbor
#

I see, I will give this a try thank you!

pearl peak
#

Let me know if that doesn't correct the behavior and we can dig in further

shadow harbor
#

Will the chat get deleted? It might take me few hours to do that.

pearl peak
#

The thread might be closed, but if you make a new thread it will reference your old ones so who ever is working can reference past discussions