Api Error SSL/TLS api-3t.paypal.com on getting Account Balance / Transactions (VB.NET)

Bieberpelz
Contributor
Contributor

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

 

Login to Me Too
2 REPLIES 2

Bieberpelz
Contributor
Contributor

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>
Login to Me Too

Bieberpelz
Contributor
Contributor

Nothing?

I read on some places about this problem. But nothing a solution?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.