Skip to content
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

Update Customer param account_balance to balance #50

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

paula4230
Copy link
Contributor

Passing account_balance to Stripe::Customer.update returns the following error: Received unknown parameter: account_balance (Stripe: :Error) in lucky exec.

I've tested the update method using irb and it gave the same error when account_balance is used, but after changing it to balance, the code worked and the test customer credit balance on the Stripe dashboard was updated accordingly.

Screen Shot 2022-09-26 at 3 32 10 PM

Screen Shot 2022-09-26 at 3 32 51 PM

Screen Shot 2022-09-26 at 3 33 08 PM

Screen Shot 2022-09-26 at 3 33 54 PM

@confact
Copy link
Owner

confact commented Sep 27, 2022

Thank you so much for the PR @paula4230. LGTM!

@confact confact merged commit 0ec3889 into confact:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants