-
Notifications
You must be signed in to change notification settings - Fork 0
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
Stripe Billing and Invoicing [FEATURE] #174
Comments
@cgsmith Pushed some latest changes - master...feature/stripe-billing-and-invoicing Docs are updated. // FYI I'm going to finish the webhooks implementation and the {payment/subscription management} via the customer portal. I added logic for working with Stripe webhooks, but, since we already have similar logic for Shopify, it would be great to combine some parts. I've created #177 for this. Once, these two branches are merged, I will implement this. |
Working on:
|
Working on:
|
Thanks @bohdan-vorona let me review what you currently have. I think you might be adding more of a direct integration instead of leveraging their customer portal. No problem if you did! |
Check - Stripe (webhooks + Dashboard):
Check - website:
|
@cgsmith In general, I've finished the main part of Stripe integration. Implemented the following webhooks: customer.deleted, checkout.session.completed, customer.subscription.created, customer.subscription.trial_will_end, customer.subscription.deleted, customer.subscription.updated. I'm working on usage-based measurement. Some moments I need help with:
How shall I determine the current customer? As I see, in the
But also, as I see, one user can have several customers:
So, shall I use the field
I left all these checks for my logic too. Is it correct? It means that I will check the current active subscription only if it's not an admin and is a direct customer and it's not switching between users.
I can propose not showing our header and footer when the user sees the pricing widget. Just add a neat button Back + Logo or something like that. Menu: Subscription page: Active trial: Active subscription: Thx for subscribing: Redirect if no active subscription: |
Is your feature request related to a problem? Please describe.
Billing right now is partly done through Stripe and manually done through Quickbooks. I want to use Stripe for everything billing out of Shipwise. The current integration is fairly broken and just adds credit cards. It also handles the invoicing but doesn't enroll them in the subscription.
Describe the solution you'd like
No migrations are necessary as I will be informing the customers of the new subscriptions and terms. They will then choose a plan and be subscribed.
I created a subscription for testing in Stripe under the test mode. Test subscription
Additional context
Useful documentation:
Stripe Subscription Documentation
Stripe Customer Portals
Loom explanation for @bohdan-vorona Video
The text was updated successfully, but these errors were encountered: