2 replies [Last post]
jfarhat's picture
Offline
Joined: 11/04/2008
Juice: 12
Was this information Helpful?

Greetings,

How can I override the uc_redit_order(...) hook in the uc_credit module?

Thank you for your assistance.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Override uc_credit_order(...)

Well... you can't really. The question is why do you want to do that and how can the end result be achieved another way?

TSKVFX's picture
Offline
Joined: 10/12/2010
Juice: 13
Overriding uc_credit_order

I would like to do the same thing.

We have new products for which we will authorize and capture the credit card. However, we also have some legacy products which require manual intervention. For those, we'd like to just authorize the cards. thus, on submit, I'd like to change $data('txn_type') depending on product ID.

Is there a better way to do this?

Thanks much.