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

Remove deprecated types #5

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Remove deprecated types #5

merged 1 commit into from
Jan 8, 2024

Conversation

Raphi-Wirth
Copy link

@Raphi-Wirth Raphi-Wirth commented Jan 7, 2024

Removes deprecated types from Order struct. We weren't explicitly sending these fields, but due to how go unmarshalls data, they were being sent as nil to shopify. (Payment method was never in the order struct)

Linear issue

Removing them solves this issue.

Payload after removing (No Gateway, no Payment_Method, no Processing_details:
294790753-19ceefe8-4ba0-49b5-8d26-28a6519ec4c0

Payload before:
294790790-c071b611-74fc-4554-a860-9c735401669f

Copy link
Collaborator

@matt-am-i matt-am-i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Raphi-Wirth Raphi-Wirth merged commit 3af2413 into master Jan 8, 2024
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 this pull request may close these issues.

2 participants