#Longhornrumble

1 messages · Page 1 of 1 (latest)

surreal wadiBOT
vapid holly
#

Hi there, can you share with me the script that you run?

wild badger
#

I'm using the browser CLI - https://stripe.com/docs/stripe-cli. Blue button. It's a Stripe script in their backend somewhere. I wonder if you can test a webhook for the checkout.session.completed event and trigger it with the CLI using "stripe trigger checkout.session.completed" and see what it tells you

Build, test, and manage your Stripe integration directly from the command line.

vapid holly
#

Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details

wild badger
#

I'm working in test mode

vapid holly
#

Ok. It looks like the fixture is broken in the newer API version

wild badger
#

Sounds like something's broken on Stripe's end? I wonder how I can initialize my webhook then?

#

I think my 72 hours is up, so I can't roll back to the previous API version

vapid holly
#

You don't need to use Stripe CLI to initalize webhook, The CLI command is just a convinient way to test webhook integrations

wild badger
#

Okay. Thanks. I'm a low code guy. How do I get

#

Stripe to post something to my waiting integration?

#

to receive payload

vapid holly
wild badger
#

I believe my rollback window has passed

vapid holly
#

I'd suggest you to contact Stripe support and request for a rollback https://support.stripe.com/contact/email

wild badger
#

Okay. Thank you. I will. Any suggestions on how get Stripe to trigger an event without the CLI?

vapid holly
wild badger
#

I can create the sessions. I just can't fetch the checkout session completed event. I can, however, fetch subscription and customer created events which will work too.

#

I've submitted a case to support per your suggestion. I appreciate your help. Thanks.

vapid holly
#

What do you mean by not able to fetch the checkout session completed event?

wild badger
#

Meaning that the transmission of the event checkout.session.completed appears to be broken and, therefore, I cannot receive it from Stripe when using the latest API.

vapid holly
#

Do you have the event ID so that I can take a look?

wild badger
#

I have an API endpoint on my server listening for that event and it never comes.

#

req_dyz6Sp5W8j8bzx

#

Didn't you say it yourself earlier? A "fixture is broken" in the latest API and you recommended a rollback?

vapid holly
#

The checkout session creation was unsuccessful, and therefore there's no checkout.session.created event .

#

But you can still create a checkout sessions through other means for example, Payment Links

wild badger
#

Yes, but this is in a testing environment using the Stripe CLI that produces a set of scripts that Stripe creates. They are entirely fabricated events for a testing enviornment in an effort to test initial webhook integrations.