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

raystack / frontier / 9381349099
9%
main: 38%

Build:
Build:
LAST BUILD BRANCH: revert-1398-chore/rename-lib-to-sdk
DEFAULT BRANCH: main
Ran 05 Jun 2024 09:11AM UTC
Jobs 1
Files 239
Run time 88min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jun 2024 09:07AM UTC coverage: 9.38% (+0.04%) from 9.342%
9381349099

Pull #638

github

kushsharma
feat: offline billing accounts in org

- Offline billing accounts are not registered in billing provider
like Stripe by default.
- Only online b/a can use CheckoutAPI so when requesting to create
new Checkout, it will automatically try to register the billing
account to provider if it is offline
- DelegatedCheckout with virtual credits can be used with offline
customers
- Offline customers will not interact with billing provider at all
and can't support subscriptions as well
- A offline customer can be migrated to online using RegisterBillingAccount
API
- https://github.com/raystack/proton/pull/360
- A change in frontier env/yaml configs are introduced to handle
offline accounts better
```yaml
billing:
  # default currency to be used for billing if not provided by the user
  # e.g. usd, inr, eur
  default_currency: "inr"
  # billing customer account configuration
  customer:
    # automatically create a default customer account when an org is created
    auto_create_with_org: true
    # name of the plan that should be used subscribed automatically when the org is created
    # it also automatically creates an empty billing account under the org
    default_plan: ""
    # default offline status for the customer account, if true the customer account
    # will not be registered in billing provider
    default_offline: false
```

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>
Pull Request #638: feat: offline billing accounts in org

12 of 1824 new or added lines in 13 files covered. (0.66%)

1 existing line in 1 file now uncovered.

9638 of 102755 relevant lines covered (9.38%)

2.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9381349099.1 05 Jun 2024 09:11AM UTC 0
9.38
GitHub Action Run
Source Files on build 9381349099
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #638
  • PR Base - main (#9361738958)
  • Delete
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

© 2026 Coveralls, Inc