3

Are there any good Ubercart hooks or other API features so I can learn about whether my Ubercart orders have been paid at all?

Basically all I need is a function that would tell me if an order invoice has been paid-in-full or not.

3

You can use
uc_payment_balance() function to know how much the customer still owes to you.

  uc_payment_balance($order) 

where $order - the order object

3
  • Works like a charm. Thanks for the fast/great answer. Sep 26 '13 at 20:26
  • Can this be reflected on the Printable Invoice to show that it's been paid?
    – user26775
    Feb 26 '14 at 15:06
  • Yes you can reflect it on the invoice
    – harshal
    Feb 26 '14 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.