Guest User

Untitled

a guest
Nov 15th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. from vantivsdk import fields, online, utils
  2.  
  3. conf = utils.Configuration()
  4.  
  5. authorization = fields.authorization()
  6. authorization.reportGroup = 'Planets'
  7. authorization.orderId = '12344'
  8. authorization.amount = 106
  9. authorization.orderSource = 'ecommerce'
  10. authorization.id = 'thisisid'
  11.  
  12. card = fields.cardType()
  13. card.number = '4100000000000000'
  14. card.expDate = '1210'
  15. card.type = 'VI'
  16.  
  17. authorization.card = card
  18.  
  19. response = online.request(authorization, conf)
Add Comment
Please, Sign In to add comment