Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dummy question for email_footer...Pls. Help...


Guest

Recommended Posts

Posted

Hi!

I try to make a lease pay module, when there is a 1rst pay (15%) and the rest month by month... now I can display this information on the checkout confirmation with this code:

 

   function confirmation() {                                                        

     global $HTTP_POST_VARS, $order, $currencies;                                  

                                                                                   

       define('TOTAL_PAGAR_INT12', microtime());                                    

       $enganche= $currencies->precio() * 0.15;                                    

       $mensualidad= ($currencies->precio() - $enganche) * 0.10573;                

       $sueldo = ($mensualidad / 0.2);                                              

       $interconsumo12= ' <BR> Favor tomar nota: <BR><b> Enganche: Q.' . number    

_format($enganche, 2) . '<BR> 12 cuotas de: Q.' . number_format($mensualidad, 2)    

. ' </B>' . '<BR> Para poder aplicar a este cr?dito, el ingreso minimo tiene que    

ser de: Q.' . number_format($sueldo, 2) . '  mensual<BR><BR>';                      

                                                                                   

       return array('title' => $interconsumo12 . MODULE_PAYMENT_INTERCONSUMO_TE    

XT_DESCRIPTION);                                                                    

 

But when I press checkout, I see that all values are on 0 on the email, the question is:

How Can I assign values for the email_footer?

 

Edwin

  • 3 weeks later...
Posted

I found the answer...

I insert a rutine on checout_process.php that identifies the payment module, and the module sends the variables to make the calculation...

If some body wants this script, please let me know and I will publish...

Posted
If some body wants this script, please let me know and I will publish...

 

Please make a contribution - if you need help with this please pm me

 

Matti

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...