Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

code for order number


bobsi18

Recommended Posts

Posted

Hi there... I'm completly new at this and am looking some help... I know it should be easy, but I don't know where to look. I've just installed the AusBank contribution and have modified it slightly - I've taken away the SWIFT code reference, and changed it with the text 'Reference: You order number'. What I'm wondering is, is it possible to replace 'your order number' with some code that would display the customer's order number automatically? Anyone know the code for that?

 

Thanks!

 

btw, this is what my code looks like:

define('MODULE_PAYMENT_AUSBANK_TEXT_DESCRIPTION',

'<BR>Please use the following details to transfer your total order value:<br><pre>' .

"\nAccount No.: " . MODULE_PAYMENT_AUSBANK_ACCNUM .

"\nBSB Number: " . MODULE_PAYMENT_AUSBANK_BSB .

"\nAccount Name: " . MODULE_PAYMENT_AUSBANK_ACCNAM .

"\nBank Name: " . MODULE_PAYMENT_AUSBANK_BANKNAM .

"\nReference: You order number\n\n" .

Posted

use the orders_id of the $orders global array to do this in the payment module script. Append it after the "Your order number string"

Archived

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

×
×
  • Create New...