#JohnTheFrog

1 messages · Page 1 of 1 (latest)

quartz scarabBOT
long aspen
#

👋 happy to help

#

I'm not sure I follow

dusk pumice
#

There is an event about successful charge: evt_3MSeo8GoLmBCnzj70ZvbdcXw

We have configured webhooks to send this information to slack channel and it works, but this one time the hook sent invalid data

#

Event I linked above is for different amount that we got on our slack channel

long aspen
#

did you check your internal logs?

dusk pumice
#

I don't think it has something to do with our internal logs.

It looks like stripe replaced pi_3MSeo8GoLmBCnzj70KJaF6aw with pi_3JmcrIGoLmBCnzj71b3fgEop when sending payment notification

Both of these payment intents belongs to a customer with same email address (but has different ID, cus_KRVxRNFOFzFBrJ and cus_Inb6mLMniGZ3x5)

I believe its some kind of bug

long aspen
#

It looks like stripe replaced pi_3MSeo8GoLmBCnzj70KJaF6aw with pi_3JmcrIGoLmBCnzj71b3fgEop when sending payment notification
what do you mean?

dusk pumice
#

According to evt_3MSeo8GoLmBCnzj70ZvbdcXw our slack channel should receive a notification about pi_3MSeo8GoLmBCnzj70KJaF6aw , not pi_3JmcrIGoLmBCnzj71b3fgEop

The only thing that connects these two intents are cus_KRVxRNFOFzFBrJ and cus_Inb6mLMniGZ3x5 (that customers uses same email address)

long aspen
#

the event is related to a charge from pi_3MSeo8GoLmBCnzj70KJaF6aw

#

where did this pi_3JmcrIGoLmBCnzj71b3fgEop come from?

dusk pumice
#
Both of these payment intents belongs to a customer with same email address (but has different ID, cus_KRVxRNFOFzFBrJ and cus_Inb6mLMniGZ3x5)
#

This is my only track

#

I can report this as a bug since it looks like it

long aspen
#

I'm not sure it is

#

would you mind sharing the code snippet of your webhook?

#

let's see first what you're trying to achieve there

dusk pumice
#

I don't think that at company i work we have any intermediate service.

You can check the slack webhook:
we_1G6DApGoLmBCnzj7wiIxUmb1

long aspen
#

checking

dusk pumice
#

I can report this as a bug if this is not a topic on discord talk

hearty estuary
#

Hey! Taking over for my colleague. Let me catch up.

#

Sorry for making you waiting here.
Could you please resume your issue by giving a sample example. Like what webhooks endpoint are you listening, what event are you receiving and what you were expecting from that event ?

dusk pumice
#

The slack channel we use is connected using webhook we_1G6DApGoLmBCnzj7wiIxUmb1

According to evt_3MSeo8GoLmBCnzj70ZvbdcXw our slack channel should receive a notification about pi_3MSeo8GoLmBCnzj70KJaF6aw , not pi_3JmcrIGoLmBCnzj71b3fgEop

The only thing that connects these two intents are cus_KRVxRNFOFzFBrJ and cus_Inb6mLMniGZ3x5 (that customers uses same email address)

bleak depot
#

What details did your Slack actually receive?

#

Looking at the payload of evt_3MSeo8GoLmBCnzj70ZvbdcXw, it clearly references pi_3MSeo8GoLmBCnzj70KJaF6aw so I'm unsure of how this is a Stripe bug

#

I guess there's some logic in your webhook handler that is returning the wrong data somehow

dusk pumice
#

Hmm I will look into this. It ll take some time to deeper understand how these notifications work at our side.

bleak depot
#

Sure, please follow-up when you have more context