-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
feat: Sync Stripe Credit Balance to Pay::Customer #825
feat: Sync Stripe Credit Balance to Pay::Customer #825
Conversation
22c6a80
to
f16b51b
Compare
This is a great start @nachiket87 👍 I think we'll want to store this in the Pay::Customer object and keep it synced using the customer.updated webhook. This way we can have it in the database always and keep it in sync with what's in Stripe (like when someone manually applies credit to a customer in their dashboard). |
ah yes I see now! I'll make the changes tomorrow. Thanks for the feedback! |
Hey @excid3 I've updated the PR with the new changes. If you get a minute, please could you take a look. Thanks! |
Renaming variable to better reflect the actual underlying object being used in the code.
Thanks for the refactor @cjilbert504! |
Huge thanks @nachiket87! This is going to be really handy to have. |
Thank you @excid3 got taking the time to review and merge and @cjilbert504 for the reviews and suggestions |
@nachiket87 - Thanks a bunch for this one! Nice work |
Just cut the new release 6.7.0 |
fixes #789
First time contributing to this repo. ❤️