Is upgrade possible for `payment` type Extension?
Uninstall the extension form the site.
Upgrade the site to 4.7.
Make the extension compatible with the latest version - Eg - Upgrade Paystation processor to 4.7 compatible and Install the extension again.