Small code line needed to ameliorate a plug in

Using a plug in named user front end I need few lines in order to customize the plug in simply . The main goal is to automatically change the WordPress user role from subscriber to customer when a paiement is made Thank you source_link وردپرس