You should be able to open up and re-apply the server behaviors related to paypal. They should appear on the checkout, confirm, and pp_confirm pages. Once you update the server behaviors the code will be updated as well and you can save and update the related files to complete the transition.