Api Error SSL/TLS api-3t.paypal.com on getting Account Balance / Transactions (VB.NET)
Bieberpelz
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-19-2018
01:45 AM
Hi there,
since some days, we get an error when we use our functions to get Account Balance or Transactions from PayPal.
We Use
https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
as the API. But now, it doesn't run anymore and I geht the follwoing Error.
Es konnte kein sicherer Kanal für SSL/TLS mit Autorität "api-3t.paypal.com" eingerichtet werden.
What I must do, to get Account Balance and Transactions via vb.net/c#.net?
Thank you
Some Test-Code:
Dim paypalService = New ServicePaypal.PayPalAPIInterfaceClient() Dim securityHeader = New ServicePaypal.CustomSecurityHeaderType() Dim credentials = New ServicePaypal.UserIdPasswordType() credentials.Username = user credentials.Password = pass credentials.Signature = signature securityHeader.Credentials = credentials Dim payloadReqBal = New ServicePaypal.GetBalanceReq() With { .GetBalanceRequest = New ServicePaypal.GetBalanceRequestType() } payloadReqBal.GetBalanceRequest.Version = "204.0" payloadReqBal.GetBalanceRequest.ReturnAllCurrencies = "1" Dim balance = paypalService.GetBalance(securityHeader, payloadReqBal) For Each balanceLocal In balance.BalanceHoldings richTextBoxOutput.AppendText("{balanceLocal.Value} {balanceLocal.currencyID}\r\n") Next
2 REPLIES 2
Bieberpelz
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-19-2018
01:55 AM
And the part of the app.config
<client> <endpoint address="https://api-3t.paypal.com/2.0/" binding="basicHttpBinding" bindingConfiguration="PayPalAPISoapBinding" contract="ServicePaypal.PayPalAPIInterface" name="PayPalAPI" /> <endpoint address="https://api-aa-3t.paypal.com/2.0/" binding="basicHttpBinding" bindingConfiguration="PayPalAPIAASoapBinding" contract="ServicePaypal.PayPalAPIAAInterface" name="PayPalAPIAA" /> </client>
Bieberpelz
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-25-2018
06:29 AM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Getting API error PAYEE_ACCOUNT_INVALID, I set the payee to my merchant id. in REST APIs
- Reference transactions just broke? in NVP/SOAP APIs
- Paypal Pro - Payment issue in NVP/SOAP APIs
- best PayPal API for enabling P2P transactions in REST APIs
- Paypal payment error analysis and root cause in NVP/SOAP APIs