a guest Nov 15th, 2018 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- from vantivsdk import fields, online, utils
- conf = utils.Configuration()
- transaction = fields.sale()
- transaction.reportGroup = 'Planets'
- transaction.orderId = '12344'
- transaction.amount = 106
- transaction.orderSource = 'ecommerce'
- transaction.id = 'ThisIsID'
- card = fields.cardType()
- card.number = '4100000000000000'
- card.expDate = '1210'
- card.type = 'VI'
- transaction.card = card
- response = online.request(transaction, conf)
RAW Paste Data