drive-web icon indicating copy to clipboard operation
drive-web copied to clipboard

[PB-2222] feat: update sections Plans/Billings

Open evillalba94 opened this issue 1 year ago • 3 comments

Updates

The following PR provides a solution to the integration of B2B business plans on the Plans and Billings sections.

Plans

  • The plans section includes an interval to display individual and business plans if they exist.
  • The calls through the SDK to indicate which type of plan (individual or business) will be manipulated were resolved.
  • The call to the limit and usage endpoints was integrated to allow searching for the workspaceUserId information.
  • The prices in the invoices were fixed (no longer static).

Workspace Billing

  • The section now manipulates the correct user information.
  • The cancel subscription action was added in this section.
  • The edit payment method actions work in both sections.

Others

  • The texts referring to the prices in both sections were adjusted, example: 34 €/month
  • Adjustments to various parts of the code to handle plan information appropriately, allowing for obtaining information from both plans (individual and business).

SDK updates

  • PR sdk related https://github.com/internxt/sdk/pull/216

  • sdk/payments: update to receive a userType - update types.

  • sdk/storage: update endpoints (limit and usage).

  • PR payments https://github.com/internxt/payments/pull/68

  • PR drive-server https://github.com/internxt/drive-server/pull/449

TODO's

  • [] Please review them to evaluate the following updates and improvements according to B2B

evillalba94 avatar Jun 24 '24 21:06 evillalba94

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 3:35pm

vercel[bot] avatar Jun 24 '24 21:06 vercel[bot]

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: b8acfb6
Status:⚡️  Build in progress...

View logs