developer:soap:methods:copycustomer

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
developer:soap:methods:copycustomer [2009/09/08 10:35]
tem
developer:soap:methods:copycustomer [2009/09/08 10:37]
tem
Line 36: Line 36:
 try {  try { 
  
-//CustNum for Customer to Copy   +  ​// CustNum for Customer to Copy   
-$CustNum="​12345678";​+  $CustNum="​12345678";​
  
-//​toMerchToken setup the same way as token  +  ​// $toMerchToken ​is setup with sourcekey 
-//except in the merchant ​account the customer is being copied to. +  // for merchant being copied to 
-$NewCustNum=$client->​copyCustomer($token,​ $CustNum,​$toMerchToken);​+  $NewCustNum=$client->​copyCustomer($token,​ $CustNum,​$toMerchToken);​ 
 +  
 +} catch(Exception $e)  { 
  
-  
-  
- 
- 
-catch(Exception $e) {  
   echo '​Error:​ ' . $e->​getMessage(); ​   echo '​Error:​ ' . $e->​getMessage(); ​
  
Line 66: Line 63:
  ​BigInteger CustNum = BigInteger("​12345678"​);​  ​BigInteger CustNum = BigInteger("​12345678"​);​
  
-//​toMerchToken ​setup the same way as token  +// toMerchToken ​is the token setup with a source key 
-//except in the merchant ​account the customer is being copied to.+// for the merchant being copied to.
 BigInteger NewCustNum = client.copyCustomer(token,​ CustNum, toMerchToken);​ BigInteger NewCustNum = client.copyCustomer(token,​ CustNum, toMerchToken);​
  
developer/soap/methods/copycustomer.txt · Last modified: 2009/09/08 10:37 by tem

Page Tools