#ronak_97066_02069
1 messages · Page 1 of 1 (latest)
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.
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.
Can you provide me a Checkout Session and Invoice ID example that I can look at where this happened?
Ok, let me fetch that.
pi_3NhWxTAqJwqqBCe50LmqpAG7
Sorry ignore that.
Try to fetch another.
👍
Here it is -> pi_3NhWYtBpUPkXutBj2aDrgQYY
How can i get see invoice using payment intent in dashboard?
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?
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.
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
Invoice item tax is returning value as 10.40 whereas checkout session has 10.39
What is the Invoice ID where you see that?
That is the API call we do, don't you have a invoice API logs on your end?
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.
hmm. ok can you share a place in dashboard I can search invoice? Then only i can share. We do not save invoice ID.
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?
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.
Okay so an alternative is to use invoice_creation.enabled (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-enabled) when you create the Checkout Session and just let us create the corresponding Invoice for you.
Ok thank you! We will try this out and see if that helps.