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
103 stars 10 forks source link

Question about Hardcoded urls? #3

Closed erdemozveren closed 5 months ago

erdemozveren commented 5 months ago

Hi, in main.go file in multiple places there are hardcoded urls for "sign365.com.au" and im not a GO person but seems like it doesnt respect "HOST" env key,is this a bug or am i missing something can you enlighten me please.

erdemozveren commented 5 months ago

Also noticed "customer" table does not exists on pb_schema.json

mrwyndham commented 5 months ago

Heya Erdemoz - I have just updated the repo. I have been working on fastpocket.dev and have been making most of the changes there. Have just sent those changes downstream now. Take a look again and tell me what you think. Also fill free to reopen if this doesn't solve your issue

erdemozveren commented 5 months ago

Hello Again, Thank you for updates.I tested out little bit and these are my observations as not a GO developer; As far as i tested out all stripe data inserted/updated correctly.

Thank you again for this extension.

mrwyndham commented 5 months ago

Loved this. I will make sure to update those accordingly in the bootstrap for pocketbase. Thanks again for taking the time to look at this stuff. Makes me happy to know there are people like you out there!