Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default EU Standard Bank Transfer

    Hi there.

    I am installing and using this mod, but I have a problem. My zen-cart test version 1.3.6 works fine, but 1.3.7 my real site, donīt works ok.

    The emal that the customers receive doesn't include the account number. I have revised the code but I donīt know what is the key variables or that I change one to fix this problem.

    Any idea.

    Mr. Robert you know???

  2. #2
    Join Date
    Feb 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    Quote Originally Posted by maca2406 View Post
    Hi there.

    I am installing and using this mod, but I have a problem. My zen-cart test version 1.3.6 works fine, but 1.3.7 my real site, donīt works ok.

    The emal that the customers receive doesn't include the account number. I have revised the code but I donīt know what is the key variables or that I change one to fix this problem.

    Any idea.

    Mr. Robert you know???
    Your status is just opposite to mine.
    The email that the customers receive is fine. But the details of bank account does not show on the page of checkout_confirmation.
    It just shows as below:
    Payment Method:

    Pay by Direct Bank Transfer into our account

    Pay by Direct Bank Transfer into our account:
    MODULE_PAYMENT_EUTRANSFER_TEXT_DESCRIPTION

  3. #3
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    Hi.

    To fix this problem, make this change in the file:
    includes/languages/english/modules/payment/eustandardtransfer.php

    find: ?>

    Add before, this code:

    define('MODULE_PAYMENT_EUTRANSFER_TEXT_DESCRIPTION',
    "Please use the following details to transfer your total order value:\n" .
    "\nBank name: " . MODULE_PAYMENT_EUTRANSFER_BANKNAM .
    "\nBank branch: " . MODULE_PAYMENT_EUTRANSFER_BRANCH .
    "\nAccount Name: " . MODULE_PAYMENT_EUTRANSFER_ACCNAM .
    "\nAccount no: " . MODULE_PAYMENT_EUTRANSFER_ACCNUM .
    "\nIBAN: " . MODULE_PAYMENT_EUTRANSFER_ACCIBAN .
    "\nBIC/SWIFT: " . MODULE_PAYMENT_EUTRANSFER_BANKBIC .
    "\n\nThanks for your order. You will be able to download immediately after we receive payment in the above account.\n\nYou will receive an email as soon as we received the payment.");
    Enjoy
    Last edited by maca2406; 5 Feb 2007 at 08:53 AM.

  4. #4
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Idea or Suggestion Re: EU Standard Bank Transfer

    I still my problem, but at this time, I know that the module is not the problem. My problem is with a file of the language that I am using, because with the files of the english language, this module with the before fix, works great.
    Last edited by maca2406; 5 Feb 2007 at 08:54 AM.

  5. #5
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    Please help from any php programmer.

    I have a problem with this module. Problem is that the bank accout details "email_footer" are not show in the email that the customer receive with this payment form. That is very important for me!!!!

    This module works fine with zen-cart 1.3.6 but is incompatible with includes/classes/order.php on zen-cart 1.3.7, then I revised the behavior of the module with both versions of zen-cart and the problem is in the following codes, but I can´t to fix it without harming the operation of order.php because I am not a php programmer.

    These are the relevant codes for fix the problem.

    eustandardtransfer.php
    PHP Code:
      define('MODULE_PAYMENT_EUTRANSFER_TEXT_TITLE''Pay by Direct Bank Transfer into our account');
       
      
    define('MODULE_PAYMENT_EUTRANSFER_TEXT_EMAIL_FOOTER'
       
    "Please use the following details to transfer your total order value:\n" .
       
    "\nBank name:  " MODULE_PAYMENT_EUTRANSFER_BANKNAM .
       
    "\nBank branch:   " MODULE_PAYMENT_EUTRANSFER_BRANCH 
       
    "\nAccount Name: " MODULE_PAYMENT_EUTRANSFER_ACCNAM 
       
    "\nAccount no:   " MODULE_PAYMENT_EUTRANSFER_ACCNUM 
     
    "\nIBAN:    " MODULE_PAYMENT_EUTRANSFER_ACCIBAN .
       
    "\nBIC/SWIFT:   " MODULE_PAYMENT_EUTRANSFER_BANKBIC 
     
    "\n\nThanks for your order. You will be able to download immediately after we receive payment in the above account.\n\nYou will receive an email as soon as we received the payment."); 
    order.php on Zen-Cart 1.3.6
    PHP Code:
       if (is_object($GLOBALS[$_SESSION['payment']])) {
          
    $email_order .= EMAIL_TEXT_PAYMENT_METHOD "\n" .
          
    EMAIL_SEPARATOR "\n";
          
    $payment_class $_SESSION['payment'];
          
    $email_order .= $GLOBALS[$payment_class]->title "\n\n";
          
    $email_order .= (isset($this->info['cc_type']) && $this->info['cc_type'] != '') ? $this->info['cc_type'] . "\n\n" '';
          
    $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer "\n\n" '';
        } else {
          
    $email_order .= EMAIL_TEXT_PAYMENT_METHOD "\n" .
          
    EMAIL_SEPARATOR "\n";
          
    $email_order .= PAYMENT_METHOD_GV "\n\n";
        }
        
    $html_msg['PAYMENT_METHOD_TITLE']  = EMAIL_TEXT_PAYMENT_METHOD;
        
    $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title PAYMENT_METHOD_GV );
        
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer $this->info['cc_type'] ); 

    order.php on Zen-Cart 1.3.7
    PHP Code:
       //addresses area: Billing
        
    $email_order .= "\n" EMAIL_TEXT_BILLING_ADDRESS "\n" .
        
    EMAIL_SEPARATOR "\n" .
        
    zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], 0''"\n") . "\n\n";
        
    $html_msg['ADDRESS_BILLING_TITLE']   = EMAIL_TEXT_BILLING_ADDRESS;
        
    $html_msg['ADDRESS_BILLING_DETAIL']  = zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true''"<br />");

        if (
    is_object($GLOBALS[$_SESSION['payment']])) {
          
    $email_order .= EMAIL_TEXT_PAYMENT_METHOD "\n" .
          
    EMAIL_SEPARATOR "\n";
          
    $payment_class $_SESSION['payment'];
          
    $email_order .= $GLOBALS[$payment_class]->title "\n\n";
          
    $email_order .= (isset($this->info['cc_type']) && $this->info['cc_type'] != '') ? $this->info['cc_type'] . "\n\n" '';
          
    $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer "\n\n" '';
        } else {
          
    $email_order .= EMAIL_TEXT_PAYMENT_METHOD "\n" .
          
    EMAIL_SEPARATOR "\n";
          
    $email_order .= PAYMENT_METHOD_GV "\n\n";
        }
        
    $html_msg['PAYMENT_METHOD_TITLE']  = EMAIL_TEXT_PAYMENT_METHOD;
        
    $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title PAYMENT_METHOD_GV );
        
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer $this->info['cc_type'] ); 
    Question is, which is the right change to the module to fix it.

    Thank you for help.
    Last edited by maca2406; 5 Feb 2007 at 11:37 PM.

  6. #6
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    The difference either both codes is:

    order.php in 1.3.6
    PHP Code:
        $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer $this->info['cc_type'] ); 
    order.php in 1.3.7
    PHP Code:
        $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer $this->info['cc_type'] ); 
    I don&#180;t understand then what is the reason in the change in zen-cart 1.3.7 with order.php and more important, I don&#180;t know how fix the modue for that works fine with 1.3.7.

    Thank you

  7. #7
    Join Date
    Dec 2004
    Posts
    46
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    Any news with this problem!?

    I also have the same problem.

    It works flawlessly in 1.3.6, but with 1.3.7 the customer does not receive this contents MODULE_PAYMENT_EUTRANSFER_TEXT_TITLE.

  8. #8
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    DrByte

    Please HELP

    What is the reason of change on line 948 in includes/classes/order.php in Zen Cart 1.3.7 vs 1.3.6, this are both codes:

    Zen Cart 1.3.6 order.php (line 948)
    [FONT=Courier New]$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'[/FONT][FONT=Courier New]] ); [/FONT]

    Zen Cart 1.3.7 order.php (line 948)
    [FONT=Courier New]$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] );


    With underline, is the difference in both codes. Why footer =
    [/FONT][FONT=Courier New]'' in 1.3.7. Maybe I can to fix it usign the line of zen cart 1.3.6, but I don&#180;t know how it affect to Zen-Cart 1.3.7[/FONT]
    [FONT=Courier New][/FONT]
    [FONT=Courier New]Please help, this is my main payment form, Zen Cart is useless for me without this payment form!!![/FONT]

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: EU Standard Bank Transfer

    The code change was made to correct a syntax error preventing it from properly sending the correct output.

    I just installed the mod, from the downloads area, onto a fresh v1.3.7 install.
    Then I placed an order.
    I received the email with the proper information in the footer:

    Here's the HTML email output:
    Payment Method
    Pay by Direct Bank Transfer into our account
    Please use the following details to transfer your total order value:

    Bank name: ***bank name
    Bank branch: ***branch location
    Account Name: ***bank account name
    Account no: ***bank account number
    IBAN: ***IBAN
    BIC/SWIFT: ***BIC

    Thanks for your order. You will be able to download immediately after we receive payment in the above account.

    You will receive an email as soon as we received the payment.
    Here's the text-only email output:
    Payment Method
    ------------------------------------------------------
    Pay by Direct Bank Transfer into our account

    Please use the following details to transfer your total order value:

    Bank name: bank name
    Bank branch: branch location
    Account Name: bank account name
    Account no: bank account number
    IBAN: IBAN
    BIC/SWIFT: BIC

    Thanks for your order. You will be able to download immediately after we
    receive payment in the above account.

    You will receive an email as soon as we received the payment.

    If it's not working properly, it would seem that you may have missed something in your upgrade.

    (NOTE: I only tested with the English language file ... which appears to be missing a define for ...._TEXT_DESCRIPTION ... but the email functionality worked properly immediately after installing it.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: EU Standard Bank Transfer

    Thank you DrByte

    I will see what is the problem with it. Right now with a fresh install of 1.3.7 this works, but with my current install don&#180;t works in any language.

    It is possible that some third party module is causing this conflict and it will take me work to discover the problem. To know what files have relationship with the shipment of this email could help me a lot.

    Thank you again for your help.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. EU Standard Bank Transfer - Blank final page?
    By wizer in forum Addon Payment Modules
    Replies: 0
    Last Post: 4 Nov 2010, 01:54 PM
  2. EU Standard Bank Transfer Support
    By js5729 in forum Addon Payment Modules
    Replies: 5
    Last Post: 13 Mar 2009, 03:38 PM
  3. EU Standard Bank Transfer mod work for U.S.?
    By coucho in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 24 Jun 2008, 12:44 AM
  4. Eu Standard Bank Transfer
    By Sudakoma in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 23 Sep 2006, 12:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg