thirtybees icon indicating copy to clipboard operation
thirtybees copied to clipboard

Store Credit: Fix order creation

Open getdatakick opened this issue 1 year ago • 3 comments

When store credit is used, created orders have incorrect total amount - without store credits (as if store credit was discount).

We need to keep the original order price, and register store credit as a payment.

getdatakick avatar Mar 18 '25 07:03 getdatakick

Is there a feature store credit? Cause I was thinking about it and thought I would implement it with voucher code that is applied automatically. Maybe you had the same in mind and this is the problem.

eschiendorfer avatar May 21 '25 07:05 eschiendorfer

Yes, that feature is in a separate branch, and will be merged into 1.7.

We need to use store credits instead of vouchers/cart rules, because of tax implications. Cart rules act as a discount, and decreases price before taxes. Store credits applies to final price, and are more like a payment method.

getdatakick avatar May 21 '25 07:05 getdatakick

Great news for me! Already the second core branch, I am waiting for a merge 👍

Yes, and I completly agree. There are usecases, where we need the tax informations. If you sell coupons, it's the same. Selling Coupon is basically very similar to Store Credit.

eschiendorfer avatar May 22 '25 07:05 eschiendorfer