HI i got this error when i process "completion"
Parameters
Array ( [type] => completion [txn_number] => 20228-0_10 [order_id] => 6371 [comp_amount] => 100.00 [crypt_type] => 7 [cust_id] => 55635 )got this response
[Message] => sendMessage(): Merchant - Could not initialize db object for request.by the way where can i get the txn_number from pre-authorization? is that a unique number from moneris pre-auth? thanks..
This might mean you're not using the correct host: - If you're using QA/test credentials, please ensure you either setTestMode to true or use the host: esqa.moneris.com (Canada)/ esplusqa.moneris.com (USA) - If you're using live/ production credentials, please ensure you setTestMode to False or use the host: www3.moneris.com (Canada) or esplus.moneris.com (USA)
OR, you might be using an incorrect transaction number - it should be the transaction number of the preauthorization you are looking to "complete" --------
Yes, you will get that in the response fields, "Transaction Number": monerisdevportal.corp.moneris.com/.../Response Fields
In reply to ME_Moneris:
In reply to billy: