donotsleep
New member
- Joined
- Aug 30, 2011
- Messages
- 2
- Programming Experience
- 5-10
Can someone please show me how to show my paypal balance in a textbox
If response.Ack = AckCodeType.Failure Then With response.Errors(0) Debug.WriteLine(.ShortMessage & ": " & .LongMessage) End With Else Me.txtBalance.Text = response.Balance.Value End If
I was not able to check the balance for the test API account (A), not until I created another test API account (B), then I logged onto the Test Site with A and in Profile options granted API Access to B. Now I could use B credentials to get balance for A. The test site didn't have configuration options for "own API username and password", there was only "View API Signature". Options for specific access as described in the article you linked to were only for third party accounts. So for own account it should be full access as I see it, but that didn't work out for me.Authentication/Authorization Failed: You do not have permissions to make this API call
This means:me said:you only set credentials.Subject when making requests on account of a third-party, don't set it for requests regarding own account.