#maran-daniel_unexpected

1 messages ¡ Page 1 of 1 (latest)

muted groveBOT
#

👋 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/1435318281157349428

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

rapid estuary
#

This is about the same query I have raised previously

loud mulch
#

Hello

rapid estuary
#

hello hi

loud mulch
#

You are marking Invoices as paid out of band, correct?

rapid estuary
#

yeah we have an integration between Stripe and Zoho CRM , from Saturday we could see in our system some Customers after making successful card payments another duplicate payment is created automatically marked as "Paid out of band" in its payment method

loud mulch
#

Hmm can you share an example?

#

This shouldn't be happening if there was a card payment... only if you are making the Invoice as paid (without it being paid in Stripe).

rapid estuary
#

I can share an example from our Sandbox System first

loud mulch
#

Perfect

rapid estuary
#

req_MWyQGgBWNWvppp

loud mulch
#

Thanks looking

#

Oh

#

You did mark that Invoice as paid_out_of_band

#

This is a relatively new feature, but was added to have accurate tracking of transactions.

rapid estuary
#

oh New Feature ?

loud mulch
#

Yes it is relatively new.

#

Has it been breaking something for you?

#

Or just confusing to see it?

rapid estuary
#

so that as a developer I should make any adjustments to the webhook script to prevent this

loud mulch
#

Gotcha, yeah no impact. The intention is to just have better record tracking and reconciliation so now there is a payment record within transactions that represents when a payment was paid out of band.

#

You shouldn't really need to change anything on your end overall unless you want to.

rapid estuary
#

this occurrences happening instantly when a successful card payment occura

#

occurs*

loud mulch
#

It occurs because you passed paid_out_of_band: "true",

#

So I'm not sure what you mean by "when a successful card payment occurs"

#

Are you taking a payment separate from the Invoice and then just adding the Invoice for tracking purposes or something?

rapid estuary
#

so I doubt if that is ideal to check our scripting whether we forcing an invoice paid before the payment record acknowledges

#

here is an example from Live

loud mulch
#

Sorry I'm not following. Can you talk me through your flow right now and where this Payment Record is causing confusion/issue?

#

Okay so it looks like you are creating/confirming a PaymentIntent and then when that is successfully paid you create an Invoice and mark it as "paid out of band", correct?

rapid estuary
#

yeah

loud mulch
#

Okay gotcha. Is there a reason you aren't just creating an Invoice and using the underlying PaymentIntent for the payment? Why are you creating a PaymentIntent directly here?

rapid estuary
#

We had a Stripe Elements flow first now we moved to Stripe CHeckout flow , and as you said Payment Intent Creation webhook is still running , are you suggesting me it is unnecessary ?

loud mulch
#

Maybe your integration was built before that parameter/feature was added.

#

But if you are using Stripe Checkout then you can use that parameter to have an Invoice created after the Checkout Session is completed.

rapid estuary
#

got it

#

perfect thank you so much for your kind explanation

loud mulch
#

Sure thing!

#

Test it out and let me know if it doesn't fix things here

rapid estuary
#

sure , much appreciated

#

I would let you know tomorrow

#

Thank you !'