News:

Looking for documentation? Take a look on our wiki

Main Menu

Payment Method in to email and Invoice

Started by batboiko, October 28, 2012, 22:05:57 PM

Previous topic - Next topic

batboiko

VM 2.0.12f - Joomla 2.5.7

Just Notices something strange . When someone order something and Pay with Purchase Order (Virtuemart Default Payment Method ) everything is ok . Inside The email and in to the attached Invoice pdf file it says  : Payment Method : Purchase Order . But when someone pay with Credit Card or Pay Pal it's doesn't show the Payment Method in to the email or in to attached pdf file ?

How can i fix that ?

batboiko

#1
This is what i need to be inside Vendor email :


Payment method after Shipping :

      <td valign="top"><?php
JPluginHelper::importPlugin('vmpayment');
$_dispatcher JDispatcher::getInstance();
$_returnValues $_dispatcher->trigger('plgVmOnShowOrderBEPayment',array( $this->orderID,$this->orderbt->virtuemart_paymentmethod_id$this->orderdetails));
foreach ($_returnValues as $_returnValue) {
if ($_returnValue !== null) {
echo $_returnValue;
}
}
?>
</td>


In which file is this ?

batboiko

#2
OK i fix the Ip Address.

What about the Credit Card Payment or PayPal ? When people pay with this inside my invoice is just say : Payment Method and is empty ? How can i fix that ?

So when is paypal  or authorizenet  it doesn't show me the payment method . It shows only when is standard  payment method (VM-default)



[attachment cleanup by admin]