jbcom Posted November 26, 2003 Posted November 26, 2003 Hey everyone. After a few problems I have installed the eWay payment module and can get transactions working etc. However eWay has the facility to record other data fields such as customer name, billing address and email address, it would be great to have this data included so that we can track the the different users. The following is an excerpt from a function called process_button in the /catalog/includes/modules/payment/eway.php payment module file. Basically it builds the form which sends the data to eway. I need to find a way to fill in the test values which I have added below with the real values. tep_draw_hidden_field('ewayCustomerID', MODULE_PAYMENT_EWAY_ID) . /*remove this line when going live, its for testing only*/ tep_draw_hidden_field('ewayOption3', 'TRUE') . // JBADD: 031125 Added extra eway fields for extra customer info tep_draw_hidden_field('ewayCustomerFirstName', 'testCustomerFirstName') . tep_draw_hidden_field('ewayCustomerLastName', 'testCustomerLastName') . tep_draw_hidden_field('ewayCustomerEmail', '[email protected]') . tep_draw_hidden_field('ewayCustomerAddress', 'testCustomerAddress') . tep_draw_hidden_field('ewayCustomerPostcode', 'testCustomerPostcode') . tep_draw_hidden_field('ewayCustomerInvoiceRef', 'testCustomerInvoiceRef') . // END ADD tep_draw_hidden_field('ewayCustomerInvoiceDescription', STORE_NAME) . tep_draw_hidden_field('ewayTotalAmount', number_format(100*($order->info[total]),0,'.','')) . tep_draw_hidden_field('ewayURL', tep_href_link('eway_confirm.php', '', 'SSL')); Can anyone suggest a way to do this. I need to pull the customer billing address and email out somehow. Your help would be creatly appreciated. Cheers Jeremy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.