Skip to content

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

@renatoastra

Description

@renatoastra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions