Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As an operator, shops must self heath-check to verify they have been announced (announce-stripe-connect) #1433

Open
chrisjsimpson opened this issue Jan 13, 2025 · 0 comments

Comments

@chrisjsimpson
Copy link
Contributor

chrisjsimpson commented Jan 13, 2025

Is your feature request related to a problem? Please describe.

If a shop fails to announce itself,

Then there will be no entry for the shop , and https://github.com/Subscribie/stripe-connect-webhook-endpoint-router will not be able to route webhooks to it:

https://github.com/Subscribie/stripe-connect-webhook-endpoint-router/blob/4216d104334cf65c684f1dc65b6695e1972a7f29/main.py#L56

Describe the solution you'd like
Add health check so that shop can self-report if it's not been able to announce it's address

Describe alternatives you've considered

  • Announcing every 5 mintues works well (
    cron2 = minute=-5 curl -L %(vassal_name)\/admin\/announce-stripe-connect
    ) , however, in Playwright (test) environments uwsgi isn't present so CI must announce
  • drop the use of uwsgi cron (uwsgi cron no longer needed at all - for first time announce at least, see 55faed5 )
  • incoporate uwsgi cron into dokku deployments
  • use background thread over cron
  • use/reply on basic cron similar to Drupals built-in best-effort cron

Additional context

chrisjsimpson added a commit that referenced this issue Jan 14, 2025
chrisjsimpson added a commit that referenced this issue Jan 15, 2025
chrisjsimpson added a commit that referenced this issue Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant