Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from vantivsdk import fields, online, utils
- conf = utils.Configuration()
- authorization = fields.authorization()
- authorization.reportGroup = 'Planets'
- authorization.orderId = '12344'
- authorization.amount = 106
- authorization.orderSource = 'ecommerce'
- authorization.id = 'thisisid'
- card = fields.cardType()
- card.number = '4100000000000000'
- card.expDate = '1210'
- card.type = 'VI'
- authorization.card = card
- response = online.request(authorization, conf)
Add Comment
Please, Sign In to add comment