mrwyndham / pocketbase-stripe

Pocketbase extention built in Go with stripe webhooks currently in use at sign365.com.au and fastpocket.dev
https://fastpocket.dev
MIT License
128 stars 10 forks source link

Weird stripe api version behaviour #6

Closed Enstase closed 1 month ago

Enstase commented 1 month ago

It is not clear why, but regardless of what I do on my VPS or my Railway deployed version, I'm pointing to some Stripe Go version 0.76 despite upgrde to 0.80. I'm unsure if secrets.txt or even stripe listen are still necessary. The path seems to be /stripe rather than /api/webhooks.

The API versions appear to be incorrect like It was using a Stripe Go I have no control on

Enstase commented 1 month ago

My bad, coming from a Javascript background, I failed to understand I have to compile the Go file to a new executable with CGO_ENABLED=0 go build