I have a ubercart set up, and I have installed a few extension modules to it: uc_worldpay, uc_free_order, uc_coupon, uc_restrict_qty.

Worldpay because this is the payment method we use here at my company.
coupon, and free_order because we want to give out a discount code to certain people to allow them to get our product for free.
And restrict_qty because we only have one product, and people should only be allowed to buy one of them.

Now, the problem I have is with free_order, when someone is paying the full £15 for our product the free payment method is still showing. If you select it and go through to review the order, it doesn't allow them to proceed, so that part is working, it's just the hiding of the radio button that is failing.

Looking into the javascript that is used, it seems to look for '#edit-panes-payment-current-total' to work out if the total is free or not. But looking through the source of the page, no elements with that id exist.

Now has this element been removed because of one of the modules I have installed? I've tried removing all the modules but I just never get to see that element appear.

Is this something anyone else has noticed? And have you managed to sort it?

Cheers.

Comments

jazzdrive3’s picture

Status: Active » Closed (works as designed)

Just ran into this myself. It turns out you need to have "Show the order total preview on the payment pane." option checked in your settings.

Go to your settings page at admin/store/settings/checkout/edit/panes and check the right box under Payment Method Settings, and everything works.

This module is kind of a hack, isn't it? :)

danwallace101’s picture

Thanks Jazz,
Sorry, I completely forgot to check back here - but what you suggested is exactly what I did. And yes, it does seem a bit of a hack :)

Thanks again.