Add an .mgd file to specify the CiviCRM Job
Change the extension type from 'payment' to 'module' so managed resources get picked up. This allows CiviCRM to identify the Scheduled Job
Setting file mode
Fix the instantiation logic and remove hardcoding of directories.
Return an API result, rather than echoing output.
Handle the case when there are no payment processors defined.
Remove a duplicated piece of code.
Set up the Payment Processor Type correctly. This is a side-effect of changing the Extension Type from 'payment' to 'module'.
Use the SOAP URL specified by the gateway. Fix call to hook alterPaymentProcessorParams() to take right argument.
Return a failure if the Managed Customer can't be created