Created
          November 23, 2013 00:22 
        
      - 
      
- 
        Save thoughtshop/7609135 to your computer and use it in GitHub Desktop. 
    processsale
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <settlement> | |
| <pmt1> # Debitware goes first | |
| <devicetype>16</devicetype> # specifies Debitware | |
| <swipe_no>1233</swipe_no> # it's not documented which Debitware fields are required/used | |
| ..... # Other Debitware Fields ?????? | |
| <amount>100.00</amount> # The amount specified by the guest they would like to pay with their gift card | |
| <tax>12.00</tax> # should this be the proportion of tax paid by the debitware amount? | |
| </pmt1> | |
| <pmt2> | |
| <devicetype>15</devicetype> # is this still optional in this case? | |
| <card_no>5454545454545454</card_no> | |
| <exp_date>12/2015</exp_date> | |
| .... Other Credit Card Fields .... | |
| <amount>23.95</amount> # the remaining portion | |
| <tax>2.87</tax> # the tax on the remaining portion | |
| </pmt2> | |
| </settlement> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment