Skip to content

Instantly share code, notes, and snippets.

View uxdrew's full-sized avatar

Drew Harris uxdrew

View GitHub Profile
### Keybase proof
I hereby claim:
* I am uxdrew on github.
* I am drew_green (https://keybase.io/drew_green) on keybase.
* I have a public key ASA4tHqEQeIlGq1TJ7ZtlT31duO3nYbjHj474T0Gwq81kgo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am agharris73 on github.
  • I am drew_green (https://keybase.io/drew_green) on keybase.
  • I have a public key ASD9kBwPHDZrd1-NzEkGsYUX7fR2qqaU1Lg_MwGE9aKA9wo

To claim this, I am signing this object:

@uxdrew
uxdrew / gist:3b706c1083bd9cbdc2a0
Created August 22, 2014 21:12
WebServices PrePaidBalanceSwipe with Token
public class TOKEN
{
// Transaction Varialbles
private static string merchantID = "023358150511666";
private static string password = "xyz";
private static string invoiceNo = string.Empty;
private static string memo = "Testing: WebServices.CSharp";
private static decimal purchase = 2.25m;
private static string operatorID = "test";
@uxdrew
uxdrew / CreditSaleRequest.xml
Last active December 21, 2015 07:19
Sample XML for Credit Sale utilizing Tokenization (Mercury's MToken Technology) and E2E Encryption (P2PE) to Web Service
<!--Sample Swiped Transaction XML REQUEST for a Credit Sale with **MToken** and **E2E** (P2PE)-->
<?xml version="1.0"?>
<TStream>
<Transaction>
<MerchantID>118725340908147</MerchantID>
<!--MerchantID for Credit, Debit, EBT, Gift and is E2E and Token enabled.
Batch close type; Time Initiated (4am EST)-->
<TranType>Credit</TranType>
<TranCode>Sale</TranCode>
<!-- BatchSummary Request -->
<?xml version="1.0"?>
<TStream>
<Admin>
<MerchantID>000</MerchantID>
<TranCode>BatchSummary</TranCode>
<Memo>MPS Example XML v1.0</Memo>
<!-- Optional Tags Specific to Mercury; Contact Developer Integrations for more information -->