Payment Field Setup - fieldsetup
The fieldsetup
transaction retrieves the terminal’s payment field 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: fieldsetup | Required | 20 | alphanumeric |
Response
error_outline
note
- The response contains the root XML beginning and ending element
<txn>
. - Within the
<txn>
element, section information is presented. Data for each section will be nested and embedded between the beginning element<Section>
and the ending element</Section>
. There can be more than 1 Section elements. - Within each Section element, fields are presented. Data for each field resides between the beginning element
<Field>
and the ending ending</Field>
. There can be more than 1 Field elements.
Field name | Description |
---|---|
Name | Section Name As configured by Converge. |
DisplayName | Section Label As configured by the merchant. |
ShowinVT | Show Section Under Payment Menu Indicates if the section appears (Y>) or does not appear (N) under the Payment menu of the Virtual Terminal. |
ShowOnPaymentForm | Show Section On Payment Form Indicates if the section appears (Y) or does not appear (N) on the Payment page under the Payment menu. |
ShowinReceipt | Show Section On Receipt Indicates if the section appears (Y) or does not appear (N) on the receipt. |
CustomerEmail | Show Customer Email in Section Indicates if the customer’s email address appears (Y) or does not appear (N) in the section. |
MerchantEmail | Show Merchant Email in Section Indicates if the merchant’s email address appears (Y) or does not appear (N) in the section. |
Field | Field Data Elements
|
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>fieldsetup</ssl_transaction_type>
</txn>
Response
<txn>
<Section>
<Name>OrderSection</Name>
<DisplayName>Order Section</DisplayName>
<ShowinVT>Y</ShowinVT>
<ShowOnPaymentForm>Y</ShowOnPaymentForm>
<ShowinReceipt>Y</ShowinReceipt>
<CustomerEmail>Y</CustomerEmail>
<MerchantEmail>Y</MerchantEmail>
<Field>
<Name>ssl_account_data</Name>
<DisplayName>Order Section</DisplayName>
<Section>OrderSection</Section>
<FieldType>TEXT</FieldType>
<Min>0</Min>
<Max>19</Max>
<Required>Y</Required>
<ShowinVT>Y</ShowinVT>
<ChangedOnPaymentForm>N</ChangedOnPaymentForm>
<ShowOnPaymentForm>Y</ShowOnPaymentForm>
<ShowinReceipt>Y</ShowinReceipt>
<CustomerEmail>Y</CustomerEmail>
<MerchantEmail>Y</MerchantEmail>
<ForwardOnApproval>Y</ForwardOnApproval>
<ForwardOnDecline>Y</ForwardOnDecline>
<SystemField>Y</SystemField>
</Field>
</Section>
<Section>
<Name>CustomFields</Name>
<DisplayName>Custom Fields</DisplayName>
<ShowinVT>Y</ShowinVT>
<ShowOnPaymentForm>Y</ShowOnPaymentForm>
<ShowinReceipt>Y</ShowinReceipt>
<CustomerEmail>Y</CustomerEmail>
<MerchantEmail>Y</MerchantEmail>
<Field>
<Name>MyCustom</Name>
<DisplayName>Custom Fields</DisplayName>
<Section>CustomFields</Section>
<FieldType>TEXT</FieldType>
<Min>5</Min>
<Max>12</Max>
<Required>Y</Required>
<ShowinVT>Y</ShowinVT>
<ChangedOnPaymentForm>Y</ChangedOnPaymentForm>
<ShowOnPaymentForm>Y</ShowOnPaymentForm>
<ShowinReceipt>Y</ShowinReceipt>
<CustomerEmail>Y</CustomerEmail>
<MerchantEmail>Y</MerchantEmail>
<ForwardOnApproval>N</ForwardOnApproval>
<ForwardOnDecline>N</ForwardOnDecline>
<SystemField>N</SystemField>
</Field>
</Section>
</txn>