Printer Setup - printersetup
The printersetup
transaction retrieves the printer information.
In this section:
For the entire list of API endpoints, refer to API Endpoints.
Request
Field name | Description | Required | Length | Data type |
---|---|---|---|---|
ssl_merchant_id | Merchant ID Elavon-assigned Converge Account ID (AID). | Required | 6 or 7 | numeric |
ssl_user_id | Converge User ID The user ID with Hosted Payment API User status that can send transaction requests through the terminal. | Required | 15 | alphanumeric |
ssl_pin | Terminal ID Unique identifier of the terminal that will process the transaction request and submit to the Converge gateway. Important: The ssl_user_id sending the transaction request must be associated with the terminal that will process the request. | Required | 64 | alphanumeric |
ssl_transaction_type | Transaction Type Value: printersetup | Required | 20 | alphanumeric |
Response
error_outline
note
The response contains the root XML beginning and ending element <txn>
.
Field name | Description |
---|---|
PrinterOptions | Printer Options
|
ReceiptHeaderOptions | Receipt Header Options
|
ReceiptTrailerOptions | Receipt Trailer or Footer Options
|
ReceiptCustomFields | Receipt Custom Fields
|
Example
error_outline
important
- In this example, you will have to change the data values, such as
my_merchant_id
,my_user_id
,my_pin
, and transaction data to match your Converge account and meet the needs of your website. - Code samples provided are for demonstration only and should not be used for live transactions. All sensitive merchant data, including transaction amounts and your Converge credentials, should be placed in server side code.
Request
xmldata=
<txn>
<ssl_merchant_id>my_merchant_id</ssl_merchant_id>
<ssl_user_id>my_user_id</ssl_user_id>
<ssl_pin>my_pin</ssl_pin>
<ssl_transaction_type>printersetup</ssl_transaction_type>
</txn>
Response
<txn>
<PrinterOptions>
<PrinterType>Serial Printer</PrinterType>
<PaperType>Multi Ply</PaperType>
</PrinterOptions>
<ReceiptHeaderOptions>
<Justification>Center</Justification>
<HeaderLine1>RECEIPT LINE 1</HeaderLine1>
<HeaderLine2>RECEIPT LINE 2</HeaderLine2>
<HeaderLine3>RECEIPT LINE 3</HeaderLine3>
<HeaderLine4>RECEIPT LINE 4</HeaderLine4>
<HeaderLine5>RECEIPT LINE 5</HeaderLine5>
</ReceiptHeaderOptions>
<ReceiptTrailerOptions>
<Justification>Center</Justification>
<TrailerLine1>RECEIPT LINE 6</TrailerLine1>
<TrailerLine2>RECEIPT LINE 7</TrailerLine2>
</ReceiptTrailerOptions>
<ReceiptCustomFields>
<CustomLabel1>Custom Field</CustomLabel1>
<CustomField1>MyCustom</CustomField1>
<CustomLabel2 />
<CustomField2 />
<CustomLabel3 />
<CustomField3 />
<CustomLabel4 />
<CustomField4 />
</ReceiptCustomFields>
</txn>