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
Last revision Both sides next revision
developer:soap:methods:copycustomer [2009/09/08 10:36]
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(); ​
  
developer/soap/methods/copycustomer.txt · Last modified: 2009/09/08 10:37 by tem

Page Tools