• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raystack / frontier / 10105627974

26 Jul 2024 04:14AM UTC coverage: 9.47% (-0.001%) from 9.471%
10105627974

Pull #686

github

kushsharma
feat: configure refresh interval to sync with billing provider

Additional configurations are exposed to adjust refresh interval
to sync with billing provider(stripe) based on services.
```
billing:
  # .. omit config

  # refresh interval for billing engine to sync with the billing provider
  # e.g. 60s, 2m, 30m
  refresh_interval:
    customer: 1m
    subscription: 1m
    invoice: 5m
    checkout: 1m

```

Another change as part of checkout api is to cancel any running
trials immediately if the user buy same plan.

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>
Pull Request #686: feat: configure refresh interval to sync with billing provider

0 of 23 new or added lines in 5 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

10263 of 108374 relevant lines covered (9.47%)

2.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/billing/checkout/service.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc