The GST module http://drupal.org/project/uc_gst causes payment failure with error INVALID AMOUNT. Disabling this module fixes the issue. Ubercart 6.x-2.3/Drupal 6.17. I don't know how to find how the error occurs.
Thanks.

Comments

xurizaemon’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for reporting!

Is this issue specific to the combination of UC PaymentExpress and UC GST, or does it occur with UC GST and other modules too?

If the latter, then this should go to the UC GST project issue queue.

If the former then I'm happy to investigate further, but I'd appreciate you testing with another module (eg Paypal or similar) first to answer the question above.

gbilski’s picture

OK, tried this with the Payflow Pro module with GST module enabled, payment went through OK.
I wonder if it is because the GST module adds inc GST to the amount dispalyed, and this module is sending that?
Anything I can do to test this, let me know.
Thanks
Gary

Just managed to look at the transaction on the DPS manager site and it shows an amount of 0.00.

gbilski’s picture

Applied the patch from http://drupal.org/node/887428 and it fixed the issue. I can now submit a payment with no errors with the GST module active.

xurizaemon’s picture

Status: Postponed (maintainer needs more info) » Fixed

That patch has been committed, so this issue is now fixed (grab 6.x-1.x-dev if you are affected).

Status: Fixed » Closed (fixed)

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

gbilski’s picture

Status: Closed (fixed) » Active

the dev version release 23 Sept works fine, the latest dev release 13 Nov has broken this module again. I am now getting the invalid amount error again during checkout. Reverting back fixes it.

xurizaemon’s picture

Title: GST module » Conflict with uc_gst: "Invalid amount" errors during checkout
Status: Active » Needs work

@gbilski - I don't see any changes between 23rd September and 13th November at http://drupalcode.org/project/uc_paymentexpress.git/shortlog/refs/heads/... - so I'm at a loss to see how this fix reverted.

And: sorry - this dropped off my radar, I didn't see it had resurfaced for you.

Can you confirm it still affects you with 6.x-1.x-dev?