#aathira

1 messages · Page 1 of 1 (latest)

errant fjordBOT
ripe kindle
#

Can you provide the Charge IDs for the Charges that you're looking at?

past venture
#

ch_3MRjW7BuvXb731LE0oTmeHx8

ripe kindle
#

I don't see any charges with that ID. Can you double-check it to make sure it's correct?

past venture
#

it is test mode

#

"account": "acct_1CevukBuvXb731LE",
"api_version": "2018-05-21",
"created": 1674078600,
"data": {
"object": {
"id": "ch_3MRjW7BuvXb731LE0oTmeHx8",
"object": "charge",

ripe kindle
#

Ah, okay. This looks like a legacy system, so it was hard for me to find. Do you have the webhook payloads for each of the webhooks that were sent for this charge? Specifically I'm looking for the Event ID which looks like this --> evt_abc123

I did find these 2 events for the same charge. Is it possible your webhook endpoint is listening for charge.succeeded as well as payment_intent.succeeded?

Here's one Event I found for the Charge: https://dashboard.stripe.com/test/events/evt_3MRjW7BuvXb731LE0PYYVp22
And here's the other: https://dashboard.stripe.com/test/events/evt_3MRjW7BuvXb731LE0sSMTxOo

past venture
#

evt_3MRjW7BuvXb731LE0sSMTxOo

#

May I know why you have called it as legacy.. Actually I am exploring stripe

#

to integrate newly into my system

#

I am using <PackageReference Include="Stripe.net" Version="40.12.0" /> this version

#

evt_3MRjW7BuvXb731LE0sSMTxOo (Twice)
evt_1MRjW9BuvXb731LEvOPDIGJJ
evt_3MRjW7BuvXb731LE0PYYVp22 (Twice)
evt_3MRjW7BuvXb731LE0aZhkGh7

#

surprisingly in dashboard I can see only 1 event

ripe kindle
#

May I know why you have called it as legacy.. Actually I am exploring stripe
to integrate newly into my system
Apologies, I think I mistakenly thought this was a legacy Charge before I was able to find the Payment Intent it was associated with.

Looking into the duplicate events now

past venture
#

may be its because I am debugging locally and this discrepancy occured

ripe kindle
#

Do you have 2 instances of the local listener running at once?

#

Like, is there maybe another window with a listener running that you forgot about somewhere?

past venture
#

there is a command prompt listener and visual studio in debug mode

#

ohh 4 weeks before I have created a listener

#

and today as well created another listener

#

but I have shutdown the system and today started afresh

#

so I hope the first listener might have destroyed

ripe kindle
#

I think it's possible that the Charge happened at a time when you had 2 listeners running. I would make a test payment real quick to see if you still get 2 webhooks

past venture
#

sure thanks

#

ohh I am sorry you can't do that as the webhook is in my localhost

#

ahh any way since its a trigger from stripe hope I will get that in my cli and in my locally running webhook ..

#

2023-01-18 23:49:59 --> charge.succeeded [evt_3MRjW7BuvXb731LE0sSMTxOo]
2023-01-18 23:49:59 --> connect charge.succeeded [evt_3MRjW7BuvXb731LE0sSMTxOo]
2023-01-18 23:50:00 --> payment_intent.succeeded [evt_3MRjW7BuvXb731LE0PYYVp22]
2023-01-18 23:50:00 --> connect payment_intent.succeeded [evt_3MRjW7BuvXb731LE0PYYVp22]
2023-01-18 23:50:00 --> payment_intent.created [evt_3MRjW7BuvXb731LE0aZhkGh7]
2023-01-18 23:50:00 --> checkout.session.completed [evt_1MRjW9BuvXb731LEvOPDIGJJ]
2023-01-18 23:50:00 --> connect checkout.session.completed [evt_1MRjW9BuvXb731LEvOPDIGJJ]
2023-01-18 23:50:00 --> connect payment_intent.created [evt_3MRjW7BuvXb731LE0aZhkGh7]

#

I can see the difference charge.succeeded and connectcharge.succedded

ripe kindle
#

That all looks okay to me. Yeah, there are events that happen on the Connect account and events that happen on the Platform account. Some of those events occur in both places

past venture
#

okay so I think I just need to check if the charge.succeeded is received or not for a successful payment

#

alright thanks for your support.. I will continue my work then

#

good day

ripe kindle
#

Yup! payment_intent.succeeded would work too

past venture
#

bye