Skip to content

feat(chargebee): emulate trials and saved payment sources - #13

Merged
kamal merged 1 commit into
mainfrom
codex/chargebee-provider
Sep 22, 2026
Merged

kamal merged 1 commit into
mainfrom
codex/chargebee-provider

Conversation

@kamal

@kamal kamal commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Adds a Chargebee Product Catalog 1 emulator for seeded plans, customers, trial subscriptions, cancellation and saved payment sources. Payment sources consume single-use Stripe tokens through a shared Core Store; customer payment roles and token consumption persist through snapshot/restore.

This PR targets main and contains only Chargebee behavior, integration tests, service registration and documentation. It uses the Stripe card-entry and token support merged in #14.

The supported contract is documented with explicit limits: no real payments, Product Catalog 2, invoice generation, tax calculation or 3DS. CLI services keep independent stores; cross-provider token exchange uses an embedded shared-store setup.

Validation:

  • 6 Chargebee tests and 28 Stripe tests pass, including cross-provider token exchange, customer isolation and snapshot/reset.
  • Both provider packages build and typecheck.
  • Rebased onto 89bc99a97e120b6bc3f46d03062cff6de2094223 after feat(stripe): emulate Elements card entry and single-use tokens #14 merged. The rebase is conflict-free and the resulting files are byte-for-byte identical to the previous branch head; only commit ancestry changed.
  • Full repository checks run in CI.

@kamal
kamal force-pushed the codex/chargebee-provider branch from 1a67bbf to 8e5077c Compare September 22, 2026 13:17
@kamal kamal changed the title feat(chargebee): emulate trials and Stripe card token exchange feat(chargebee): emulate trials and saved payment sources Sep 22, 2026
@kamal
kamal changed the base branch from main to codex/stripe-card-tokens September 22, 2026 13:17
@kamal
kamal deleted the branch main September 22, 2026 14:23
@kamal kamal closed this Sep 22, 2026
@kamal kamal reopened this Sep 22, 2026
@kamal
kamal changed the base branch from codex/stripe-card-tokens to main September 22, 2026 14:29
@kamal
kamal force-pushed the codex/chargebee-provider branch from 8e5077c to a9cd344 Compare September 22, 2026 14:30
@kamal
kamal marked this pull request as ready for review September 22, 2026 14:31
@kamal
kamal merged commit ffb4832 into main Sep 22, 2026
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

Successfully merging this pull request may close these issues.

1 participant