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

Valor amount do payCreditCard #10

Open
devNytec opened this issue May 20, 2020 · 0 comments
Open

Valor amount do payCreditCard #10

devNytec opened this issue May 20, 2020 · 0 comments

Comments

@devNytec
Copy link

Estou usando o método payCreditCard e ao passar alguns valores acabam retornando o erro:

The minimum amount is $0.01 (or equivalent in country currency). The amount must be a positive integer in cents representing how much to charge, e.g 1260 for $12.60. On capture or void requests the amount must be equal or lesser than the transaction current amount.

Alguns exemplos de valores com esse erro são:
R$ 2057.43 com number_installments de 6 vezes
R$ 2450.93 com number_installments de 12 vezes
R$ 2369.24 com number_installments de 9 vezes
R$ 2239.95 com number_installments de 4 vezes

Como é um sistema que simula vários valores a maior parte acaba dando sucesso, mas algumas pequenas exceções ocorre esse erro.

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

No branches or pull requests

1 participant