I installed the 6.x-1.x-dev release and enabled it. After that i added taxes that get applied through conditional actions.
When i put a product in my shopping cart and proceed to checkout and look at the payment method pane the total credit needed is the subtotal (addsum of the products) of the order. Every additional line (tax or other line items) is not added to the total credit needed.
When i proceed to review the order, the other line-items are added to the total credit needed so when you complete the order the right amount of credit will be substracted from your total.
I had a look at the code, and it seems that in uc_store_credit.module the function 'uc_store_credit_cart_total' does not have the line-items available yet. This is because when you are still on the checkout page the order is not yet created/available. Any tips/ideas on how to do this.. or why this is not coded into the module.
Maikel
Comments
Comment #1
Maikel commentedI noticed that this only happens when i have the Conditional payments module enabled (http://drupal.org/project/uc_conditional_payment)
I will check where the problem is, and when needed close this issue and post the problem in the conditional payment issues.
Comment #2
andrews501 commentedI have a similar problem.
Using Drupal core 6.19, and Ubercart 6.x-2.4.
When I activate the tax module and the store credit module, I obtain a wrong store credit that should correspond to the amount in my currency. If I deactivate the tax module, then the store credit module works fine.
Any suggestions on how to make them work correctly, please?
Many thanks!
Comment #3
sin commentedThis may be due to #1020706: Line item conversion rate is always default 100 on checkout form