#ronak_97066_02069

1 messages · Page 1 of 1 (latest)

sturdy gulchBOT
nocturne tundra
#

Hello there, what kind of issue? If you are a developer with an issue pertaining to your integration then we can help you here. Otherwise you are best off reaching out to our Support team via https://support.stripe.com/contact/login for account-specific issues.

ivory palm
#

RCA : The .01 difference is coming in Item level tax.

In the initial version of stripe item level tax was available only at invoice item and we implemented it , but in the latest version checkout session is providing line item taxes and shipping tax and we are using shipping tax from the checkout session , and payment is also getting created based on the checkout session.

In Au item level tax now (from invoice) = 7.4 and shipping tax = .7 total tax =8.1
But in checkout session item level tax = 7.39 and shipping tax = .70 total tax = 8.09
So Total amount in stripe = 89.03 Total amount in hybris = 89.04 - > due to which payment capture is failing.

In short Stripe implemented round off for all values in Invoice and forgot to implement it in Checkout session.

nocturne tundra
#

Can you provide me a Checkout Session and Invoice ID example that I can look at where this happened?

ivory palm
#

Ok, let me fetch that.

#

pi_3NhWxTAqJwqqBCe50LmqpAG7

#

Sorry ignore that.

#

Try to fetch another.

nocturne tundra
#

👍

ivory palm
#

Here it is -> pi_3NhWYtBpUPkXutBj2aDrgQYY

#

How can i get see invoice using payment intent in dashboard?

nocturne tundra
#

Hmm there isn't an Invoice involved here.

#

So I'm a bit confused.

#

Is the Invoice you are referring to an Invoice that is created outside of Stripe?

ivory palm
#

No it is created inside stripe only. We fetch the details so that we get line item tax in the invoice api detail.

#

please read through above issue properly.

nocturne tundra
#

I asked for both an Invoice ID and a PaymentIntent ID

#

There is no Invoice directly associated with the PaymentIntent you provided.

#

So if you create that separately then please provide the relevant Invoice

ivory palm
#

Invoice item tax is returning value as 10.40 whereas checkout session has 10.39

nocturne tundra
#

What is the Invoice ID where you see that?

ivory palm
#

That is the API call we do, don't you have a invoice API logs on your end?

nocturne tundra
#

You have a ton of logs and I am helping multiple people at once. I'm not going to sift through your logs for the Invoice that you created. You can provide this to me if you would like help here.

ivory palm
#

hmm. ok can you share a place in dashboard I can search invoice? Then only i can share. We do not save invoice ID.

nocturne tundra
#

Let's back up one second.

#

Why are you creating an Invoice at all here?

#

Why not just have Checkout create the Invoice for you?

ivory palm
#

In the initial version of stripe item level tax was available only at invoice item and we implemented a invoice create API. But in the latest version checkout session is providing line item taxes

#

So creating invoice is returning item tax rounded whereas checkout session item tax is not rounded.

nocturne tundra
ivory palm
#

Ok thank you! We will try this out and see if that helps.