Hi,
Does anyone know how I can disable the automatic email that virtuemart sends when a PayPal transaction is confirmed?
Kind regards, Thijs
the file is ps_communication
Ok. And where can I find the rule to disable the automatic notify mail?
I am not a php guy. But its there. Do you only want it done with paypal orders?
Hi,
I'm not using the automatic notify for other payments. So when it is a global switch, it is also good for me.
Hope you can help me. I can't figure it out
in ps communication, you should be able to remove this
//Send sender confirmation email
$sender_mail = vmMail( $vendor_email, $dbv->f("vendor_name"), $shopper_email, $shopper_subject, $shopper_msg, "" );
if ( ( !$vendor_mail ) || (!$sender_mail) ) {
$vmLogger->debug( 'Something went wrong while sending the enquiry email to '.$vendor_email.' and '.$shopper_email );
return false;
}
}
Thanks!
I will test it and let you know!
Hi,
This wasn't the solution. It still changes the order status.
I think that it has something to do with the PayPal script. Is there someone who has a solution?
I see this rule in the PayPal script under Payment methods:
"return" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.result&order_id=".$db->f("order_id"),
"notify_url" => SECUREURL ."administrator/components/com_virtuemart/notify.php",
could it be something with notify.php ??
i do not know