You want to send a customer's bank account details in a "plain text" email that can easily be read by any packet sniffer so the WHOLE WORLD can see it? Might as well put their credit card information in there as well.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
There's less information than there is on a cheque.
All they can do with the info is pay into the account.
I don't see the problem.
I believe the same thing is also happening with cheque payments, no info on who to make the cheque payable to etc is sent in the order confirmations.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Yesuksitebuilder wrote:Does a comment get added to the order in your admin containing the bank details ?
You mean bank details.uksitebuilder wrote:It's not the customer's address we are referring to, it is the store holder's
I must admit that I haven't looked at a lot of the payment modules (only those that I use myself, ie. free checkout and paypal), so I guess I've shown my ignorance on this one.

Yes, uksitebuilder is right. There should be a comment in the email showing the "Bank Transfer Instructions" you entered in the admin. This should contain instructions for the customer on how to make the transfer, including your bank details (account number, BSB, etc).
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Just to note, the details are sent in the plain text email the admin receives.
I think I have narrowed it down to catalog/view/theme/default/template/mail/order.php not referencing the available comment data
Code: Select all
$template->data['text_comment'] = $language->get('text_new_comment');
if ($order_info['comment']) {
$template->data['comment'] = $order_info['comment'];
}
Code: Select all
<?php if ($comment) { ?>
<p><?php echo $text_comment; ?></p>
<p><?php echo $comment; ?></p>
<?php } ?>
Code: Select all
<p><?php echo $text_footer; ?></p>
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Thanks for fast reply, but i am now getting an error:fido-x wrote:Try this. In "catalog/model/checkout/order.php" (at around line 253), insert:Then, in "catalog/view/theme/default/template/mail/order.tpl", insert:Code: Select all
$template->data['text_comment'] = $language->get('text_new_comment'); if ($order_info['comment']) { $template->data['comment'] = $order_info['comment']; }
before:Code: Select all
<?php if ($comment) { ?> <p><?php echo $text_comment; ?></p> <p><?php echo $comment; ?></p> <?php } ?>
Haven't tested it, but it looks like it should work.Code: Select all
<p><?php echo $text_footer; ?></p>
Notice: Undefined variable: comment in /home/dragonltu/domains/galidejas.lt/public_html/shop/catalog/view/theme/galidejas/template/mail/order.tpl on line 162
Code: Select all
if ($order_info['comment']) {
$template->data['comment'] = $order_info['comment'];
}
Code: Select all
if ($order_info['comment']) {
$template->data['comment'] = $order_info['comment'];
} else {
$template->data['comment'] = '';
}
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
OK. In "catalog/model/checkout/order.php" replace the block of code I told you to insert at line 253, with:
Code: Select all
$template->data['comment'] = $comment;
Code: Select all
<?php if ($comment) { ?>
<p><?php echo $comment; ?></p>
<?php } ?>
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Yes, this works perfectly! Thank you!fido-x wrote:Just had another look at the code in the checkout/order model and in the bank transfer module. Scrap what I told you before -- I got it wrong! I was looking at the wrong comment.
OK. In "catalog/model/checkout/order.php" replace the block of code I told you to insert at line 253, with:And, in "catalog/view/theme/default/template/mail/order.tpl", replace the code I gave you with:Code: Select all
$template->data['comment'] = $comment;
Code: Select all
<?php if ($comment) { ?> <p><?php echo $comment; ?></p> <?php } ?>
So I added in catalog/model/checkout/order.php below:
Code: Select all
$template->data['comment'] = $order_info['comment'];
Code: Select all
$template->data['comment1'] = $comment; //extra
Code: Select all
<?php if ($comment1) { ?>
<p><?php echo $comment1; ?></p>
<?php } ?>
I did this solution but when i do testing email. The comment become like this
Bank Transfer Instructions Thank you for buying with us. Please transfer the total amount to the following bank account. Maybank Acc# :xxx CIMB Acc# :xxx Kindly inform us reference number after payment. Email to xxxx or SMS to xxxxxx Your order will not ship until we receive payment. Your order will not ship until we receive payment.
The comment do not have any line.
While it should be like this
Please transfer the total amount to the following bank account.
Maybank Acc# : xxxx
CIMB Acc# : xxxxx
Kindly inform us reference number after payment. Email to xxx or SMS to xxxx
Your order will not ship until we receive payment.
Please help
Hi Hanis!Hanis wrote:Hi
I did this solution but when i do testing email. The comment become like this
Bank Transfer Instructions Thank you for buying with us. Please transfer the total amount to the following bank account. Maybank Acc# :xxx CIMB Acc# :xxx Kindly inform us reference number after payment. Email to xxxx or SMS to xxxxxx Your order will not ship until we receive payment. Your order will not ship until we receive payment.
The comment do not have any line.
While it should be like this
Please transfer the total amount to the following bank account.
Maybank Acc# : xxxx
CIMB Acc# : xxxxx
Kindly inform us reference number after payment. Email to xxx or SMS to xxxx
Your order will not ship until we receive payment.
Please help
Were you able to solve this? I'm having the same problem thank you.
Regards.
Users browsing this forum: No registered users and 16 guests