Store Credit: Fix order creation
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.
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.
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.
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.