Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 15th, 2018 87 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. from vantivsdk import fields, online, utils
  2.  
  3. conf = utils.Configuration()
  4.  
  5. transaction = fields.sale()
  6. transaction.reportGroup = 'Planets'
  7. transaction.orderId = '12344'
  8. transaction.amount = 106
  9. transaction.orderSource = 'ecommerce'
  10. transaction.id = 'ThisIsID'
  11.  
  12. card = fields.cardType()
  13. card.number = '4100000000000000'
  14. card.expDate = '1210'
  15. card.type = 'VI'
  16.  
  17. transaction.card = card
  18.  
  19. response = online.request(transaction, conf)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top