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

[CoreBundle] Add payment state to order, to allow easier access & sorting #833

Merged
merged 1 commit into from
Jan 14, 2014

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Jan 14, 2014

Also add some randomness into order fixtures

…ting

Also add some randomness into order fixtures
pjedrzejewski pushed a commit that referenced this pull request Jan 14, 2014
[CoreBundle] Add payment state to order, to allow easier access & sorting
@pjedrzejewski pjedrzejewski merged commit 04647e5 into Sylius:master Jan 14, 2014
@pjedrzejewski
Copy link
Member

Thank you!

@stloyd stloyd deleted the feature/order_payment_state branch January 14, 2014 12:50
@winzou
Copy link
Contributor

winzou commented Jan 14, 2014

uhm sorry I don't see the point for this redundancy? It's only a bit easier to manipulate, whereas it adds a column to the already big enough order table.

@pjedrzejewski
Copy link
Member

@winzou I should have clarified, our goal is to support multiple payments per order. This state will work just like the shipping state. If all payments are successful and the balance is 0, the order is marked as paid. It can be partially paid... balance due, credit owed and so on.

@stloyd
Copy link
Contributor Author

stloyd commented Jan 14, 2014

@winzou It's first step for this #834 which will be exactly what @pjedrzejewski wrote in comment above =)

@winzou
Copy link
Contributor

winzou commented Jan 14, 2014

In that case, 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants