developer:soap-1.3:methods:copycustomer

Differences

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

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.3:methods:copycustomer [2010/06/02 09:59]
hmcgowan created
developer:soap-1.3:methods:copycustomer [2010/09/01 14:39]
irina
Line 70: Line 70:
   System.out.println("​Soap Exception: " + e.getMessage());​   System.out.println("​Soap Exception: " + e.getMessage());​
 } }
 +</​code>​
 +
 +
 +==== .NET C# ====
 +<code c>
 +usaepay.ueSecurityToken totoken = new usaepay.ueSecurityToken();​
 +            usaepay.ueHash hash = new usaepay.ueHash();​
 +            string sourcekey = "NEW SOURCE KEY";
 +            string pin = "new pin";
 +            totoken.SourceKey = sourcekey;
 +
 +            hash.Type = "​md5";​
 +            hash.Seed = Guid.NewGuid().ToString();​
 +
 +            string prehashvalue = string.Concat(token.SourceKey,​ hash.Seed, pin);
 +            hash.HashValue = GenerateHash(prehashvalue);​
 +
 +            totoken.PinHash = hash;
 +
 +            string CustNum = "​89147";​
 +            string NewCust;
 +
 +            try
 +            {
 +                NewCust = client.copyCustomer(token,​ CustNum, totoken);
 +                MessageBox.Show(string.Concat(NewCust));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
developer/soap-1.3/methods/copycustomer.txt ยท Last modified: 2010/10/11 14:59 by irina

Page Tools