Problem/Motivation

When the payment moves into the review screen, the tax is listed, but it is not applied to the total.

I checked, and it is being applied in a regular checkout workflow.

Screenshot attached.

Comments

nzcodarnoc’s picture

In uc_payafter.module

In this function:

function uc_payafter_form_alter(&$form, $form_state, $form_id)

add the following

    +  _line_item_list("rebuild");
      trigger_form_alter_hooks($form, $form_state, 'uc_cart_checkout_review_form');

I don't know why that function wasn't being called, but without it the line item stuff just doesn't work.

matthand’s picture

I've added this code but there's an internal server error afterwords. Any chance you can be more specific in how to insert the code? Thanks much!

stewart.adam’s picture

Issue summary: View changes
Status: Active » Fixed

I have updated the module and homepage with a patch to correct the tax calculation issue. The latest git (7.x-1.x) also several additional fixes that should help the form AJAX magic that happens on checkout.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.