-
Notifications
You must be signed in to change notification settings - Fork 28
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
Regarding stripe_id
in users
table
#41
Comments
Hi Jonathan, Thanks for sharing this. I will look into this now and run a test in my boilerplate environment and come back to you. Nice to see another fan of Tenancy for Laravel! (I'm a huge advocate of Archtec/Stancl's work). Will come back with a response shortly. |
I looked at the source code for a while, and it seems I would have to implement the billingPortalUrl() function myself in the ManageCustomer file? |
Yes, the customer portal stuff is quite new in stripe, and tis library hasn't quite caught up with it yet. Feel frre to fork and PR if you want. Alternatively, I plan to do some updates over christmas. I've not had an opportunity thus far due to paid work coommitments. |
Did you get anywhere? Have you tried working "directly" through the API? Something like:
I'm going to be something similar so curious whether it works! |
Yes that exactly what I did. I overridden some laravel/cashier files in my project to add the connect account to the request. It basically renders this package useless. I'm even using laravel/cashier to receive web hooks from stripe connect events. It would be so easy to add the stripe connect support in cashier, I don't know why they don't just add it. |
Yes it is a matter of understanding the division of labor between this package, Cashier, Stripe API, and Stripe itself (checkout, portal, etc.) I agree Cashier could add connect pretty easily, but that would be a distraction/brain-fart for many folks. Meanwhile I suppose we could assist with some work via PR's here? I myself had to build custom OAuth connect onboarding, as I find that much better workflow is for customers to create their Stripe accounts first then connect to that account rather than this onboarding approach. That would be a good PR I think. Hey how does your system compare to clublocker, which I'm pretty familiar with? |
Hi Gents, just interjecting here. I agree with your points around Connect becoming part of Cashier, that would have been the ideal solution, really speaking this package should never had to have existed, but alas! I haven't had time to work on this package recently due to commercial work taking up my time. I'm happy to review and accept any valid PR requests. Also happy to update the documentation to reflect any changes on GItBook. Appreciaite any support or contributions! |
Hi @l4nos , I'm planning on using your package extensively for my SaaS platform:
https://pickletime.app
I'm already using tenancyforlaravel v3, fully working. I want to use
laravel/cashier
and your package to allow tenants (pickleball clubs), to bill their members.What's working so far:
The tenants can create their account (connected account), and do the onboarding:
Once the tenant has onboarded with Stripe, the members of the tenant can create their Stripe account:
Now I want to allow the member to add payment methods by using:
But it looks like the
stripe_id
in theusers
table is not set after, andbillingPortalUrl()
requires it.I'm I missing something? Thanks!
The text was updated successfully, but these errors were encountered: