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

Add functionality to handle multiple subscription items in one order #464

Open
netbela opened this issue Nov 27, 2022 · 3 comments
Open
Labels
Feature Request New feature or request

Comments

@netbela
Copy link

netbela commented Nov 27, 2022

Currently, we face the issue that it is impossible to sell mutiple subscription items in one order. The mollie-payments-cart-error-mixedcart is raised when multiple products are added to the cart and renders the customer unable to complete the checkout. This problem exists on the latest version (3.3.0). I am unable to find the right reason for this limitation, however I believe it has something to do with cloning the orders when a subscription webhook is called.

@boxblinkracer
Copy link
Collaborator

Hi
the problem is indeed related to logical problems (i'm open if you have a solution)

let's imagine you sell 2 subscription products, that might have different intervals, and they are sold initially with 1 package -> meaning 1 shipping cost.
then suddenly this needs to be split up for upcoming (separate) deliveries. and now think of rule-builder in SW6...it might just not be possible to figure out what really needs to be paid in the end, and also the customer might get different amounts charged than expected

the only solution i have in theory at the moment is all kinds of configurations for merchants on what shipping costs would be possible in what combination of the subscription product

so to avoid such complex scenarios in combination with rules and everything like this, the error above has been included.

if you have an idea to solve this, please let me know :) always happy to improve the plugin

@boxblinkracer boxblinkracer added the Feature Request New feature or request label Nov 28, 2022
@netbela
Copy link
Author

netbela commented Nov 28, 2022

Hi.

Thanks for the response.

There could be a scenario where the products being sold do not have shipping costs associated with them (for instance, digital products). In this scenario it should be possible to order multiple subscription items in one order. This can perhaps be checked by setting a boolean on the product mollie settings. This boolean can then be checked in the cart and return a error if multiple products (with shipping costs) are located in the shopping cart.

A solution for products that do have shipping costs associated with them could perhaps bee something like this:
When the subscription renewal-date is hit, check if the customer has additional subscription products that renew on the same day. If yes, create an order with both the subscriptions and calculate the shipping costs only once.

@netbela
Copy link
Author

netbela commented Dec 11, 2022

Hi Boxblinkracer,

Is this something you can work with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants