developer:soap-1.3:methods:runquickcredit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:runquickcredit [2010/06/01 15:28]
hmcgowan created
developer:soap-1.3:methods:runquickcredit [2010/08/26 15:24]
irina
Line 128: Line 128:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 + ​usaepay.TransactionDetail details = new usaepay.TransactionDetail();​
 +
 +            string refnum;
 +
 +            refnum = "​46973415";​
 +
 +            details.Amount = 34.50;
 +            details.AmountSpecified = true;
 +            details.Description = "​Example QuickCredit";​
 +            details.Invoice = "​123456";​
 +
 +            usaepay.TransactionResponse response = new usaepay.TransactionResponse();​
 +
 +            try
 +            {
 +                response = client.runQuickCredit(token,​ refnum, details);
 +
 +                if (response.ResultCode == "​A"​)
 +                {
 +                    MessageBox.Show(string.Concat("​Transaction Approved, RefNum: ",
 +                    response.RefNum));​
 +                }
 +                else
 +                {
 +                    MessageBox.Show(string.Concat("​Transaction Failed: ",
 +                    response.Error));​
 +                }
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +
 +            }
 +</​code>​
  
 ==== XML ==== ==== XML ====
Line 144: Line 180:
 <​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​ <​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​
 <PinHash xsi:​type="​ns1:​ueHash">​ <PinHash xsi:​type="​ns1:​ueHash">​
-<​HashValue xsi:​type="​xsd:​string">​fb8305331a09c4f1002971c5974987ddb0dbba0f</​HashValue>​ +<​HashValue xsi:​type="​xsd:​string">​11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</​HashValue>​ 
-<Seed xsi:​type="​xsd:​string">​1193442685704132440</​Seed>​+<Seed xsi:​type="​xsd:​string">​12678150211876663375</​Seed>​
 <Type xsi:​type="​xsd:​string">​sha1</​Type>​ <Type xsi:​type="​xsd:​string">​sha1</​Type>​
 </​PinHash>​ </​PinHash>​
Line 176: Line 212:
 ^ Version ^ Change ^ ^ Version ^ Change ^
 | 1.0 | Method added in soap v1.0 | | 1.0 | Method added in soap v1.0 |
- 
- 
developer/soap-1.3/methods/runquickcredit.txt · Last modified: 2010/08/26 15:24 by irina

Page Tools