PayPalMerchantSDK_NetStandard 1.0.0
dotnet add package PayPalMerchantSDK_NetStandard --version 1.0.0
NuGet\Install-Package PayPalMerchantSDK_NetStandard -Version 1.0.0
<PackageReference Include="PayPalMerchantSDK_NetStandard" Version="1.0.0" />
paket add PayPalMerchantSDK_NetStandard --version 1.0.0
#r "nuget: PayPalMerchantSDK_NetStandard, 1.0.0"
// Install PayPalMerchantSDK_NetStandard as a Cake Addin #addin nuget:?package=PayPalMerchantSDK_NetStandard&version=1.0.0 // Install PayPalMerchantSDK_NetStandard as a Cake Tool #tool nuget:?package=PayPalMerchantSDK_NetStandard&version=1.0.0
PayPal Merchant SDK
The PayPal Merchant SDK C#.NET Class Library project contains classes that allow you to integrate with the Merchant APIs. The PayPal Merchant SDK provides the following:
- ExpressCheckout: The ExpressCheckout family of API operations allow you to accept paypal payments on your website.
- DoDirectPayment: The DoDirectPayment API Operation enables you to process a credit card payment.
- MassPay: The MassPay API operation makes a payment to one or more PayPal account holders.
- RecurringPayments: The Recurring Payment family of APIs allow you to create and manage automatically recurring payments.
- Reference Transactions: The DoReferenceTransaction API operation processes a payment from a buyer?s account, which is identified by a previous transaction.
Prerequisites
- Visual Studio 2005 or higher
- .NET Framework 2.0 or higher
- (Optional) NuGet 2.2 for managing dependencies
Using the SDK
To use the SDK in your application, you must
- Get the PayPalMerchantSDK dll via NuGet or from the download bundle and add references to the PayPalMerchantSDK and PayPalCoreSDK libraries.
- Additionally, if you want to use third party permissioning in your app, add a reference to the PayPalPermissionsSDK library.
- Configure your app as detailed in the configuration section below.
SDK Configuration
An application that uses the PayPal SDKs can be configured in one of two ways -
Using the Web.Config / App.Config files.
<configSections> <section name="paypal" type="PayPal.Manager.SDKConfigHandler, PayPalCoreSDK" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> <paypal> <settings> <add name="mode" value="sandbox"/> <add name="connectionTimeout" value="30000"/> ..... </settings> <accounts> <account apiUsername="jb-us-seller_api1.paypal.com" apiPassword="..." apiSignature="..."/> <account apiUsername="enduser_biz_api1.gmail.com" apiPassword="..." apiCertificate="..." privateKeyPassword="..."/> </accounts> </paypal>
Or, by dynamically passing in a dictionary (that you can load from a database or as suits your needs).
Dictionary<string, string> config = new Dictionary<string, string>(); config.Add("mode", "sandbox"); config.Add("account1.apiUsername", "jb-us-seller_api1.paypal.com"); config.Add("account1.apiPassword", "..."); config.Add("account1.apiSignature", "..."); PayPalAPIInterfaceService s = new PayPalAPIInterfaceService(config);
You can refer full list of configuration parameters in wiki
Links
- [Installing NuGet in Visual Studio 2005 & 2008] (https://github.com/paypal/sdk-core-dotnet/wiki/Using-Nuget-in-Visual-Studio-2005-&-2008)
- [Installing NuGet in Visual Studio 2010 & 2012] (https://github.com/paypal/sdk-core-dotnet/wiki/Using-Nuget-in-Visual-Studio-2010-&-2012)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 772 | 4/28/2023 |