My site enables some customers to enter a coupon code entitling them to 100% discount, on submission they are given the subscription free of charge...great.
The problem is as they pay no money they are automatically processed via the Admin payment gateway, this is a problem as the subscription page notifies them their account is set to auto renew with no renewal date or option to renew via paypal.
I need to programmatically change their gateway as per the screenshot, the admin area allows to change the gateway which resolves all my problems, but I need this to be automatic.
Is there a setting I could change or a function I could call (perhaps on welcome screen page) that would change this?
Any help very much appreciated.