Pagseguro.Sdk.RecurringPayment 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Pagseguro.Sdk.RecurringPayment --version 1.0.0
NuGet\Install-Package Pagseguro.Sdk.RecurringPayment -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pagseguro.Sdk.RecurringPayment" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pagseguro.Sdk.RecurringPayment --version 1.0.0
#r "nuget: Pagseguro.Sdk.RecurringPayment, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pagseguro.Sdk.RecurringPayment as a Cake Addin
#addin nuget:?package=Pagseguro.Sdk.RecurringPayment&version=1.0.0

// Install Pagseguro.Sdk.RecurringPayment as a Cake Tool
#tool nuget:?package=Pagseguro.Sdk.RecurringPayment&version=1.0.0
Este projeto disponibiliza Wrappers via pacote Nuget das APIs do PagSeguro para desenvolvedores .NET Core

Cada API deverá ter seu pacote correspondente. Atualmente o projeto conta com SDK para as seguintes APIs:

Install

  • Package Manager Console (Visual Studio)
Install-Package Pagseguro.Sdk.RecurringPayment
  • dotnet cli
dotnet add package Pagseguro.Sdk.RecurringPayment
  • Via csproj
<PackageReference Include="Pagseguro.Sdk.RecurringPayment" Version="1.0.0" />

Uso

  • Configure o middleware abaixo com as opções desejadas
          services.AddRecurringPayment(new PagSeguroOptions()
            {
                Email = "email_conta",
                //caso deseje utilizar a sandbox do pagseguro
                SandboxMode = true,
                Token = "token_conta",
                //Preencher apenas se SandboxMode for true
                SandboxBuyerEmail = "c45631988515948156903@sandbox.pagseguro.com.br"
            });
  • Injete a service desejada no seu construtor
        public MinhaService(IPagseguroSessionService pagseguroService)
        {
            _pagseguroService = pagseguroService;
        }
  • Consuma a service
    var session = await _pagseguroService.NewSession();
  • OBS.: Consulte o código para ver as services e seus métodos disponíveis
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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