developer:soap:methods:getsupportedcurrencies

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:getsupportedcurrencies [2008/06/23 12:38]
tem fix howto links
developer:soap:methods:getsupportedcurrencies [2009/02/02 11:13]
vladg added currency code link
Line 11: Line 11:
 To view the account details for a particular merchant account, including whether or not the account supports multi-currency processing, use the [[getAccountDetails]] method. To view the account details for a particular merchant account, including whether or not the account supports multi-currency processing, use the [[getAccountDetails]] method.
  
-Each currency type is assigned a three digit numeric code (ie: USD=840, Japanese yen=392). You must enter the three digit code for both the original currency and the converted currency in a conversion. The Currency Code list provides all of the three digit codes and their corresponding currencies for international currency conversion.+Each currency type is assigned a three digit numeric code (ie: USD=840, Japanese yen=392). You must enter the three digit code for both the original currency and the converted currency in a conversion. The [[developer/​currencycode|Currency Code]] list provides all of the three digit codes and their corresponding currencies for international currency conversion.
  
 If you would like to add support for multi-currency transactions to a merchant account please contact the merchant'​s service provider or customer service. If you would like to add support for multi-currency transactions to a merchant account please contact the merchant'​s service provider or customer service.
Line 39: Line 39:
  
 For directions on how to set up the WSDL link and create "​$token"​ and "​$client,"​ see the [[developer:​soap:​howto:​php|PHP Soap guide]]. ​ For directions on how to set up the WSDL link and create "​$token"​ and "​$client,"​ see the [[developer:​soap:​howto:​php|PHP Soap guide]]. ​
 +
 <code php> <code php>
 <?​php ​ <?​php ​
- 
- 
  
 try {  try { 
  
-   $currencies = $client->​getSupportedCurrencies($token);​  +  ​$currencies = $client->​getSupportedCurrencies($token);​  
-   ​print_r($currencies);​  +  print_r($currencies); ​                            ​ 
-                         ​ +  ​} ​ 
-     + 
-              +catch(SoapFault $e) {  
-catch(SoapFault $e) {  +  die("​soap fault: " .$e->​getMessage(). "​\n\nRequest:​ " .    
-     ​die("​soap fault: " .$e->​getMessage(). "​\n\nRequest:​ " .    +  $this->​client->​__getLastResponse()); ​        
-     ​$this->​client->​__getLastResponse()); ​        +
  
  
developer/soap/methods/getsupportedcurrencies.txt · Last modified: 2009/07/06 10:23 by epouchak

Page Tools