Well, I don't know if this is too much for free advice, but I'll give it a shot....
I'm nearing completion on a Bitpay payment module for Ubercart/Drupal. The module can be downloaded at the below link (WARNING: it's unfinished, and I need further testing. Anyone who grabs it and runs with it, does so at your own risk!)
Edit: altered code and uploaded newer zip fileFurther edit: I've posted the module up on github for public viewing and editing.
/edit
I'd like to have the module settings (function
uc_payment_method_bitpay in file
uc_bitpay.module) be validated whenever they're saved. The settings don't have their own submit button, they get saved whenever the submit button at the bottom of the form which applies to all method settings gets clicked. But despite looking for documentation and going over the code, I can't find how to create a hook for it. (Yes, I'm fairly new to Drupal.)
I've already got the code to do the validating created and set aside into a function. Where do I put the function name so it'll be called when appropriate?