View Single Post
  #4  
Old 11-04-2012, 12:32 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Payment Method - use Smarty var in "Special instructions" ?

I searched for this in the future...

IN 4.5.4, edit file:

/common_files/modules/One_Page_Checkout/payment_methods.tpl

find:

Code:
{$payment.payment_details} {if $payment.processor eq "cc_mbookers_wlt.php"}

replace with:

Code:
{* BEGIN var in payment details mod *} {* {$payment.payment_details} *} {eval var=$payment.payment_details assign="paydtls"} {$paydtls} {* END var in payment details mod *} {if $payment.processor eq "cc_mbookers_wlt.php"}

(looks like $payment_methods[payment].payment_details became $payment.payment_details sometime between 4.1 and 4.5)

Hope this helps someone (possibly me?) in the future.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote