#.borjasanchez

1 messages · Page 1 of 1 (latest)

pastel fossilBOT
gray oyster
#

hi! could you elaborate on the exact problem?

tranquil cairn
#

Hi !

#

yes ...

#

this is listening, and I'm able to create from my localhost products or doing payments, the dashboard at stripe retrive them but the dashboard doesn't send me anything to my local webhook

#

hahahaa

#

maybe this claryfies things

gray oyster
#

well do you have stripe listen running in a terminal on your local machine?

tranquil cairn
#

yes

#

stripe listen --forward-to localhost:61505/stripewebhook

gray oyster
#

and what is it logging when this happens?

tranquil cairn
#

the thing is that if a trigger something directly from the CLI, there is NO problem. Like: stripe trigger customer.created

#

by logging, what do you mean ?

gray oyster
#

I mean in the terminal where stripe listen is running, what does it print/log?

#

to be clear since this could be the problem, you have to keep it running in its own terminal(i.e. have multiple windows) you don't just run it once and close it

tranquil cairn
#

Yes, I know ... let me show you

#

and that secret is placed in my app

#

As I said, CLI works just fine, the problem is when I do a checkout in my app, the info arrives to the dashboard on stripe, but it doesn't sends anything to my localwebhook

#

Sorry I don't know if I am explaning myself correctly

gray oyster
#

maybe it's a network/firewall problem and CLI can't connect to Stripe

#

the other option is when you did stripe login it was for a different account and not this one.

tranquil cairn
#

but the events are arriving to this one

gray oyster
#

are they Connect events, are you using Connect (the Stripe-Account header) to do requests from your platfrom on connected accounts?

#

if so you need to use stripe listen --forward-connect-to <URL>

tranquil cairn
#

I already use this months ago.

#

And i didn't change the config

tranquil cairn
#

I am using this

gray oyster
tranquil cairn
#

login is correct

#

nothing

gray oyster
#

so what, you're saying it worked yesterday and it doesn't today?

tranquil cairn
#

4 months ago

#

not yesterday

#

hahaha

gray oyster
#

a lot can change in 4 months, maybe your ISP is blocking something in the network, as a random example

tranquil cairn
#

maybe I am missing something...

gray oyster
#

overall I would start fresh

#

at least run stripe login again to refresh your authentication

#

and then if that doesn't work, uninstall stripe-cli and reinstall the latest version, login again, and try again

tranquil cairn
#

Okay

#

ill try

#

If doesn't work i'll come back again

#

thx

gray oyster
#

@tranquil cairn here

tranquil cairn
#

now seems that the problem is not what I mentiong before.

pastel fossilBOT
tranquil cairn
#

Looks like the data I send from the app is not targeting the webhook in the dashboard ...

#

I have no logs here

#

eventhough the Checkout is completed successfully

#

I check the api keys

#

they are correct

trim parcel
#

👋
Can you share one of those event IDs in text?

tranquil cairn
#

sure

#

evt_1Oc4sXGaKGRdsAFC5zsyWSRW

#

I checked again and the problem is not here

#

Is where the OK is ...

#

Can u check if I did a checout session

#

?

#

And where is the data ?

trim parcel
#

Give me a moment

tranquil cairn
#

no problem

trim parcel
#

I see that the events were delivered to your CLI webhook endpoint

tranquil cairn
#

wich ones ?

trim parcel
tranquil cairn
#

yes

#

but the checkout session that I did it doesn't show

trim parcel
#

I'm not seeing any recent checkout session creation requests on the account the above event belongs to..

are you using Stripe Connect?

tranquil cairn
#

When you say connect... there is other kind of stripe ?

#

I use what I've used 4 months ago

#

I doing checkouts and the checkout tells me is Okay

#

but stripe (dasboard) doesn't listen any event

#

I only can trigger events from CLI

trim parcel
trim parcel
#

sorry its taking a while to look

#

The checkout creation request was made by acct_1NKflOGaKGRdsAFC on acct_1Ns59q2el4RwAAwp