Automation Command Button in Payment Selector Section OR Payment Processor Option

Sorry, just found there is pre/post/confirmation fields in the settings, not sure on how to use yet but think that answers that question. Any good tutorials on script payment processor?