We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to charge a card using $buyer->debit, if you pass the card URI instead of the account URI an error is generated instead of an exception.
The text was updated successfully, but these errors were encountered:
@oppenheimer do you mean this func: https://github.com/balanced/balanced-php/blob/master/src/Balanced/Account.php#L92 ? that doesnt take an account.
Sorry, something went wrong.
Andrew
If I do
$buyer = Balanced\Account::get($uri);
with the $uri = to the credit card, it does not generate an exception. Then if I do
$buyer->debit(5000);
I get an error and not an exception.
Instead for the first statement, I should have used the URI = to the account.
Gordon
On Sun, Dec 16, 2012 at 2:47 PM, andrew [email protected] wrote:
@oppenheimer https://github.com/oppenheimer do you mean this func: https://github.com/balanced/balanced-php/blob/master/src/Balanced/Account.php#L92? that doesnt take an account. — Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-11421890.
@oppenheimer https://github.com/oppenheimer do you mean this func: https://github.com/balanced/balanced-php/blob/master/src/Balanced/Account.php#L92? that doesnt take an account.
— Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-11421890.
@oppenheimer thanks for the clarification, will investigate detecting that in get
get
No branches or pull requests
When trying to charge a card using $buyer->debit, if you pass the card URI instead of the account URI an error is generated instead of an exception.
The text was updated successfully, but these errors were encountered: