Mpgs payment gateway

I am trying to integrate mpgs payment gateway in my openemr 7.0.2 patient portal. How can i make the return url to patient home page after the payment is done.?