Hi,
Follow the below steps to configure the cancel and error url in Manager.paypal account
Login to your manager.paypal account.
Go to Service settings -> Hosted checkout page -> setup

Paypal Modules: http://www.modulebazaar.com/en/modules/paypal-modules.html