#spicy-checkout-cli

1 messages ยท Page 1 of 1 (latest)

clear ravineBOT
willow umbra
#

Hi there! Can you clarify what you mean by "checking out to create a subscription"? Do you have an example Subscription ID?

fringe apex
#

Should mention this is all with test keys, not anything live. And I mean that no webhook event triggers when I use a checkout page, like this.

willow umbra
#

A Subscription won't be created in this case until the Checkout Session succeeds. Are you saying this isn't happening?

fringe apex
#

Yeah, after hitting the blue "Subscribe" button, and i do get redirected to the success page and all, my webhook doesn't recieve anything. Only thing here is this that i manually triggered with the CLI

clear ravineBOT
deep sparrow
#

The CLI trigger only does one-time payments

#

spicy-checkout-cli

#

So really mostly just go through the Checkout flow yourself to subscription and all the Events will be generated as expected

fringe apex
#

That's what I'm doing, and the webhook events expected from checking out don't appear

deep sparrow
#

yeah sorry you just said Only thing here is this that i manually triggered with the CLI though

#

Can you give a concrete example with an exact Checkout Session id that is for subscription, you completed in the browser properly and it's missing Events?

fringe apex
fringe apex
deep sparrow
#

this is the Event

fringe apex
#

why's it not being sent to the webhook?

deep sparrow
#

what do you call "the webhook"? You have no webhook endpoints configured at all on your account. Do you mean the CLI instead?

fringe apex
#

Yes, I'm not getting the webhook events on my CLI, for testing

deep sparrow
#

can you share the exact command you are using to listen to Events and the exact version of the CLI?

fringe apex
deep sparrow
#

okay can you upgrade to the latest version first? Can you also add --log-level=debug

fringe apex
#

Okay 1 sec

deep sparrow
#

I just tried locally and get that Event as expected (and all the other ones)

fringe apex
#

upgraded CLI now, still don't get anything

#

the debug only shows ping and pong messages

deep sparrow
#

so you get no messages at all?

fringe apex
#

correct

#

only getting anything if i trigger with the cli

deep sparrow
#

okay lol

#

Are you logged into the right account? ๐Ÿ˜…

fringe apex
#

wait

deep sparrow
#

Like my guess is you are logged in account A, and then running the Checkout Session on account B

#

at first I thought you said you were only missing the subscription Events

fringe apex
#

omfg

#

im so sorry

#

thank you ๐Ÿ˜ญ

#

problem solved lmao