Alipay payment gateway needs to be restored after every update of membership

I recently paid someone to create Alipay payment gateway for Membership. But I need to reinstall the payment gateway after each update of membership. Any better solution?