Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Config Settings

brianarnold789 edited this page Sep 21, 2016 · 4 revisions

Config setting apply to every transaction done using that configuration. To change the settings on one individual transaction, use the optional sendRequest arguments. For example, if you would like to change the report group on a particular transaction, while sending the request simply use

litleXml =  litleOnlineRequest(config)
response = litleXml.sendRequest(authorization, reportGroup="Report Group 2")

User

Required field. Your merchant user name. Contact Vantiv eCommerce to get these credentials Password

Required field. Your merchant password Merchant Id

Required Field. Your merchant's unique user Id. Merchants can have multiple merchant Id Report Group

The reporting group for the specific transaction, defaulted to "Default Report Group" Version

Defaulted to the version the SDK was intended for. All future minor revisions are backwards compatible Url

Required for anything other than testing. Defaulted to "Sandbox", the Litle test environment. Can be set to "prelive", "postlive", "Prod", or any custom url. Use "Prod" to go live. Proxy

Defaulted to none, must be set if your system requires a proxy. Timeout

Defaulted to 500ms seconds. Set to the number of miliseconds before HTTP time out. Print XML

Defaulted to False. If set to true, transaction request and response XML will be printed.

Example:

from litleSdkPython.litleOnlineRequest import *

config = Configuration()
config.user = "DanAndCo"
config.password = "thisIsMyPassword"
config.merchantId = "12345"
config.reportGroup = "Report Group 1"
config.proxy = "MY_PROXY:1234"
config.timeout = 60
config.url = "Sandbox"
config.printXml = True