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
Money Refund not alowed: "Invalid value: Payment must be a positive amount." #22382
Comments
Hello @radioeventos You can't add negative value to the payment method. To balance an overdue by the clients, it is recommended to make a credit slip (See the original issue). So, I close it cause it's not a bug. Thanks! |
This point has always been possible. What's more, how do I know at first glance if a customer has received a monetary refund or not, and the amount if it is a partial refund? This is basic accounting, if it is allowed to enter the amount of the payment, it should be possible to enter the amount of the refund. A payment can be positive or negative. Another thing is that the Total cannot be negative, but partial refunds must be allowed and that these are recorded. |
This is a very frustrating "feature". If somebody want to use negative amount for payment (eg. refund accounting), he have to modify 3 core file: src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php (line: 1109) src/Core/Domain/Order/Payment/Command/AddPaymentCommand.php (line: 173) src/PrestaShopBundle/Form/Admin/Sell/Order/OrderPaymentType.php (line: 111) |
Hi @hibatallahAouadni , Example - rounding differences in payments of 0.01 €, we used to be able to adjust with -0.01 without any problems. Or overpayments. How to create an credit slip to this in Prestashop without changing a purchased product? |
I understand you find it very useful to have positive or negative payments but there is more than "is it easy or not to use" when it comes to payments. AFAIK Product team is actually in the process of getting some law compliance people so that they can tell us what can be done or what cannot be done in order to comply with the law. The very first thing to do is to verify what is legal and what is not. After the legal background has been identified, then what the product should do or refuse can be explored. That being said, remember this is an open source project and it aims to be extensible. If you disagree with PrestaShop built-in logic, you can build/buy a module that overrides these rules. |
hi @matks thank you very much - Prestashop as an open source project is wonderful. But in this case the change was as a stone in the regular order processing. To the legal (basis German law): Case study: Without negative, the entire order must be canceled and the customer must trigger a new order. This is cumbersome and there is a risk that a customer will not realize a new order. There are many cases in the daily order processing what make this negative payment value necessary. Legally, as described above, this is also a legal case. At least here in Germany. |
Any accounting allows positive and negative amounts. Discounts, without going any further, are a negative amount and this is expressed in the same prestashop. If I make a payment to a customer for a return, there is no way to record said payment in the prestashop accounting. If the order has not been invoiced yet, because until it is sent it is not invoiced, how do I record that payment or that return, whatever you want to call it, in Prestashop? in any way or by hand in the private notes. A botch. |
I have heard this story before. This is wrong, please don't assume bad intentions just because we disagree with you. You provide good points and good things to think about, please focus on the good ideas you provide and leave the unnecessary ranting aside, following our Code of Conduct. The topic is on @PrestaShop/product-team table. Many inputs are gathered, some compliance people will be involved because German law is one thing, but PrestaShop aims to be international 😅 . User inputs have been recorded, now let's let the @PrestaShop/product-team do his job. |
It's easy to get rid of bad thoughts - provide a clear and concise explanation of why a required function is removed and that it is available in any management application or program. Does someone who really uses Prestashop on a daily basis to sell, not as a tester or programmer, get in the way of negative amounts in managing payments? Deleting a function just shows that the programmer does not really put himself in the shoes of the person who uses them or struggles with prestashop on a daily basis. As long as that clear and objective explanation is not offered, I can think what I want and express it. I have not said at any time that it is not lawful to seek profitability, since for Prestashop it works for everyone and continues to be free at its base, the company behind it must be profitable. |
I am closing this topic as it's going in the wrong direction. |
Describe the bug
Negative amounts are not allowed on payments made. You cannot write down full or partial refunds of money.
Expected behavior
How save a refund without negative amount?
Steps to Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots or screen recordings to help explain your problem.
Additional information
The text was updated successfully, but these errors were encountered: