Hello,
For payment processing we are using "VM -Payment PayPal" plugin. We have a project requirement where in I need to re-direct user back to site's home page after user completes paypal payment.
Kindly let me know whether it's possible and how to implement the same.
Thank You in Advance!
Regards,
Jude
Probably this one in plugins/vmpayment/paypal/paypal/helpers/paypalstd.php ~ line 241 if your using the standard Paypal method
$post_variables['notify_url'] = JURI::root() . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component' . '&lang='.vRequest::getCmd('lang','') ;
Thank You!
Hello
It is not that one.:$post_variables['notify_url'] = JURI::root() . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component' . '&lang='.vRequest::getCmd('lang','') ;
it is this one:
$post_variables['return'] = JURI::root().'index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=' . $this->order['details']['BT']->order_number . '&pm=' . $this->order['details']['BT']->virtuemart_paymentmethod_id . '&Itemid=' . vRequest::getInt('Itemid' ). '&lang='.vRequest::getCmd('lang','') ;