2016-06-15 3 views

Antwort

0

Es ist eine Wrapper-Klasse um den Konfigurationsabschnitt.

Bitte schauen Sie in \ PayPal-NET-SDK-Entwicklung \ Samples \ Source \ Utilities \ Configuration.cs und erstellen Sie es entsprechend Ihrer Konfiguration.

Vergessen Sie nicht, Ihre web.config zu ändern oder app.config

<configSections> 
    <section name="paypal" type="PayPal.SDKConfigHandler, PayPal" /> 
</configSections> 
<!-- PayPal SDK settings --> 
<paypal> 
<settings> 
    <add name="mode" value="sandbox" /> 
    <add name="clientId" value="youclientid" /> 
    <add name="clientSecret" value="yoursecret" /> 
</settings> 
</paypal>