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

Multi vendor payment #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Multi vendor payment #1

wants to merge 5 commits into from

Conversation

caseycrites
Copy link
Member

  • Send payments to multiple partners
  • Default to a partner in case some partners don't have stripe info
  • Split the shipping cost evenly
  • Send taxes with the default partner

chargeable_partners.append({partner: info})

shipping_cost = kwargs['shipping_cost']
shipping_charges = self.split_shipping_charge(
Copy link
Member Author

Choose a reason for hiding this comment

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

This should probably be calculated before partners are weeded out and the default partner gets the charges for those that don't have stripe accounts. This way kind of screws over a partner with a stripe account that's on the same order as one that doesn't.

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