List Info

Thread: Error occurs when adding account into sandbox




Error occurs when adding account into sandbox
country flaguser name
United States
2007-05-23 02:46:44

I found an error 'Cannot add an account with no default payment
method." when creating new account using the API
AccountService.addAccount() in sandox: .

Here is my code :

Dim a As Account = New Account()
a.name = "new account 1"
a.marketID = "US"
Try
Dim addedA As Account = _accountService.addAccount(a)
Console.WriteLine("Add account id = finished.",
addedA.ID)
Catch ex As Exception
Console.WriteLine("Exception: " & ex.ToString)
End Try

Can we add account into sandbox? How to set the payment method in
sanhox?

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )