Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from vantivsdk import fields, online, utils
- conf = utils.Configuration()
- transaction = fields.credit()
- 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)
Add Comment
Please, Sign In to add comment