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

Orders.get embedded is returning undefined #144

Closed
jamesjjk opened this issue May 18, 2020 · 3 comments · Fixed by #146
Closed

Orders.get embedded is returning undefined #144

jamesjjk opened this issue May 18, 2020 · 3 comments · Fixed by #146

Comments

@jamesjjk
Copy link

Library version 3.2.0-beta.1 (due to testmode bug)

When requesting orders with embeds parameter:

embed: [
                    'payments',
                    'refunds',
                    'shipments'
                ]

The order returns _embedded: undefined

@Pimm
Copy link
Collaborator

Pimm commented May 18, 2020

Thanks. I'll look into this.

@Pimm
Copy link
Collaborator

Pimm commented May 19, 2020

This will be fixed in the next version.

For today ‒ depending on your requirements ‒ perhaps embedding only one resource (payments, or refunds, or shipments) at a time could be a workaround.

@vernondegoede
Copy link
Contributor

vernondegoede commented May 19, 2020

Released @mollie/api-client@3.2.0-beta.2

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 a pull request may close this issue.

3 participants