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

Custom Field renders PDF invalid #77

Open
Ric16Fr opened this issue Jul 11, 2024 · 0 comments
Open

Custom Field renders PDF invalid #77

Ric16Fr opened this issue Jul 11, 2024 · 0 comments

Comments

@Ric16Fr
Copy link

Ric16Fr commented Jul 11, 2024

Hey there,
great API, I truly love it!
There is just one issue, when trying to add a order ID as custom field to my invoice.
I used this syntax:
invoice_data["custom_fields"] = [{'name': "Bestellnummer", 'value': order.get_order_id()}] and when printing this out -> print(data['custom_fields'][0]['value']) I also reccieve the correct value or name. But when including this in my request json, the PDF becomes invalid. When commenting this out, everything is fine.

Thanks for helping me out here!
Kind regards
Ric

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