Stripe integration? #366
richardpickett
started this conversation in
General
Replies: 1 comment 2 replies
-
I now have this working. On start first the stripe client is started in the background and the script waits until stripe console outputs the webhook secret, which it then sets as an env variable and starts ghost. lmk if you'd like me to submit a PR with the changes - if you think it'd be useful for your codebase. Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I'm reading the docs right, in order for ghost to receive updates from stripe, it has to run the stripe cli, which forwards the requests on to ghost.
Ghost Documentation: Stripe Webhook
Does stripe integration work with the docker-based ghost deploy? (I'm also not seeing Stripe in the ghost settings, so I'm guessing "no")
If not, this may be a problem I'd be interested in solving, caveat: my solution will be to have two running programs, first starting the stripe cli and feeding the webhook secret into the cmdline ghost start (two programs in one container is antithetical to the container pattern)
Beta Was this translation helpful? Give feedback.
All reactions