Skip to content

Instantly share code, notes, and snippets.

@thoughtshop
Created November 23, 2013 00:22
Show Gist options
  • Save thoughtshop/7609135 to your computer and use it in GitHub Desktop.
Save thoughtshop/7609135 to your computer and use it in GitHub Desktop.
processsale
<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