-
Notifications
You must be signed in to change notification settings - Fork 18
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
Ticket/bank transfer #6151
Ticket/bank transfer #6151
Conversation
"type": "mx_bank_transfer", | ||
}, | ||
}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very duplicated to me. Just calculate the type, and do not repeat the whole objec.t
payment_method_options=payment_method_options, | ||
payment_method_types=["customer_balance"], | ||
customer=customer.id, | ||
confirm=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of this is also duplicate from the model, can't we merge those code paths somehow?
No description provided.