Why did I get API error code 10745?
The COUNTRYCODE variable passed for the shipping address is invalid.
Pass the two-character country code, not the country name. For example, a common mistake is passing United States instead of US. See the following list of valid country codes.
Not all countries are currently supported using the NVP/SOAP DoDirectPayment API method. Passing one of the following unsupported country coes will produce API error code 10746:
- Anguilla AI
- Argentina AR
- Australia AU
- Austria AT
- Belgium BE
- Brazil BR
- Canada CA
- Chile CL
- China CN
- Costa Rica CR
- Denmark DK
- Dominican Republic DO
- Ecuador EC
- Finland FI
- France FR
- Germany DE
- Greece GR
- Hong Kong HK
- ICeland IS
- India IN
- Ireland IE
- Israel IL
- Italy IT
- Jamaica JM
- Japan JP
- Luxembourg LU
- Malaysia MY
- Mexico MX
- Monaco MC
- Netherlands NL
- New Zealand NZ
- Norway NO
- Portugal PT
- Singapore SG
- South Korea KR
- Spain ES
- Sweden SE
- Switzerland CH
- Thailand TH
- Taiwan TW
- Turkey TR
- United Kingdom GB
- United States US
- Uruguay UY
- Venezuela VE
See the Developer Portal for a complete list of NVP/SOAP API error codes.