Editing confirmation page


  • Default avatar
    rodney6    
     3 years ago
    0

    I have installed the Eway plugin and it works well. The only thing my client dislikes is the display of data on the thank you page which is apparently in an array in $html. Is there any way to edit the labels for these lines?
  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    You can edit the code directly. It is found here:
    www/plugins/vmpayment/eway/eway.php

    The html is created around line 578

    <?php
            $html 
    '' "\n";
            
    $html .= $this->getHtmlRow('EWAY_PAYMENT_NAME'$payment_name);
            
    $html .= $this->getHtmlRow('EWAY_ORDER_NUMBER'$response->order_number);
            
    $html .= $this->getHtmlRow('EWAY_AMOUNT'$response->ewayReturnAmount ' ' $currency->currency_name);
            
    $html .= $this->getHtmlRow('EWAY_RESPONSE_TRANSACTION_ID'$response->ewayTrxnNumber);
            
    $html .= '' "\n";
    ?>