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

Shopping cart discount rule is not deducted when you create an order in admin, ask the customer to pay and then change the payment method. #6563

Closed
x4all opened this issue Feb 4, 2025 · 3 comments

Comments

@x4all
Copy link

x4all commented Feb 4, 2025

PHP Version: 8.2 | Shopware Version: 6.6.4.1 | Affected area / extension: Platform(Default)


Actual behaviour:

Shopping cart discount rule is not deducted when you create an order in admin, ask the customer to pay and then change the payment method.

Shopping cart discount rule, e.g. 2% when paying in advance.
Create order in admin, payment method e.g. PayPal (there is no shopping cart discount here)
Ask the customer to pay
If the customer changes the payment method to prepayment, the shopping cart discount should apply, as the discount is linked to the payment method. However, this does not work.

Translated with DeepL.com (free version)

Expected behaviour:

The shopping cart discount should apply for prepayment

How to reproduce:

Add shopping cart discount rule, e.g. 2% when paying in advance.
Create order in admin, payment method e.g. PayPal (there is no shopping cart discount here)
Ask the customer to pay
If the customer changes the payment method to prepayment, the shopping cart discount should apply, as the discount is linked to the payment method. However, this does not work.

@shopwareBot
Copy link

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-40524

[created from NEXT-40524, comment 537617]

@shopwareBot
Copy link

[public]

Priority changed to: High

Thank you for your report. Based on the information in this report, we have decided to investigate this issue in more detail and are planning to provide a fix for this issue. Although we are always eager to solve such problems as soon as we can, we can't give you a more specific time frame right now. We appreciate your patience and thank you for your understanding.

[created from NEXT-40524, comment 537887]

@shopwareBot shopwareBot added Status:Open This issue is ready for implementation. Status:In-Progress Work on this issue has started. It is now being implemented. and removed Status:Open This issue is ready for implementation. Status:In-Progress Work on this issue has started. It is now being implemented. labels Feb 5, 2025
@shopwareBot
Copy link

[public] Works as designed. Neither adding nor removing such a discount is possible at that stage. The discount is only granted if the customer has selected the correct payment method in the checkout process before finalizing the order. Otherwise, the customer would actively manipulate the generated order (add/remove promotion LineItem).

[created from NEXT-40524, comment 538185]

@shopwareBot shopwareBot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants