-
-
Notifications
You must be signed in to change notification settings - Fork 74
Feature: new billing flow #109
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
Conversation
@simonhamp I think this is ready to go. Once merged, I'll try to follow up with installing Livewire and polling on the order success page as we've discussed. I recommend pulling down this branch and configuring your setup locally to both confirm functionality but to also double check everything that the production server & services will need configured before deploying. |
@simonhamp Alrighty. Order success page has been converted to a Livewire page with 2 second polling. Test added for this page. livewire.polling.mp4 |
|
@simonhamp Added repo access instructions, changed "beta" to "Early Access" (on |
I haven't tested this fully but it's looking great! Please test a real payment (@shanerbaner82) before going to prod. If possible with the webhook firing somewhere so you can see everything working. SES is going to be used for the emails - don't forget to set the env for this in Forge Deployment checklist:
|
@simonhamp @shanerbaner82 FYI: I updated the links and references to Anystack in |
# Conflicts: # composer.lock
Replaced with #121 |
Bypasses Anystack billing.
Before Deploying:
/stripe/webhook
route for the standard cashier events.env
vars must be saved to.env
:Functionality:
customer.created
andcustomer.subscription.created
events) via webhook. We hook into these events to create a user from the Stripe customer record and dispatch a job to send an api request to anystack to create a contact & license for them.Future Improvements:
/order/{session} when the license key is NOT available

/order/{session} when the license key is available

license key notification
