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

How create to checkout payment with pix through the SDK? #20

Open
renatoastra opened this issue Oct 12, 2023 · 0 comments
Open

How create to checkout payment with pix through the SDK? #20

renatoastra opened this issue Oct 12, 2023 · 0 comments

Comments

@renatoastra
Copy link

renatoastra commented Oct 12, 2023

Hello, im facing some problems with my integration,

When i pass the acceptedMultiPaymentMethods field on the checkout object with the pix payment enable,

The api response its an error:

"order.payments[0].checkout.pix": [\r\n' +
2023-10-11 22:17:21     '      "The pix field is required when pix payment is accepted"\r\n' +
2023-10-11 22:17:21     '    ]\r\n' 

But im already passing the Pix field.

When I try through Insomnia without acceptedMultiPaymentMethods, the response is successfully completed,

But using the SDK the createOrder function forces me to send this field, What I should do?

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