News:

Looking for documentation? Take a look on our wiki

Main Menu

Disable automatic mail: notify customer

Started by t.hagoort, September 24, 2010, 15:48:41 PM

Previous topic - Next topic

t.hagoort

Hi,

Does anyone know how I can disable the automatic email that virtuemart sends when a PayPal transaction is confirmed?

Kind regards, Thijs

PRO


t.hagoort

Ok. And where can I find the rule to disable the automatic notify mail?

PRO

I am not a php guy. But its there. Do you only want it done with paypal orders?

t.hagoort

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

PRO

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;
         }
      }

t.hagoort


t.hagoort

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?

t.hagoort

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 ??

PRO