MercadoPagoCore.Extensions.Microsoft.DependencyInjection 1.0.0

Additional Details

This repository is archived since the official Mercadopago sdk has been updated and continues to be updated.
Only dependency reversal functionality for ASP.NET core will be preserved in the following repository "https://github.com/cantte/MercadoPago.DependencyInjection".

dotnet add package MercadoPagoCore.Extensions.Microsoft.DependencyInjection --version 1.0.0                
NuGet\Install-Package MercadoPagoCore.Extensions.Microsoft.DependencyInjection -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="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MercadoPagoCore.Extensions.Microsoft.DependencyInjection --version 1.0.0                
#r "nuget: MercadoPagoCore.Extensions.Microsoft.DependencyInjection, 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 MercadoPagoCore.Extensions.Microsoft.DependencyInjection as a Cake Addin
#addin nuget:?package=MercadoPagoCore.Extensions.Microsoft.DependencyInjection&version=1.0.0

// Install MercadoPagoCore.Extensions.Microsoft.DependencyInjection as a Cake Tool
#tool nuget:?package=MercadoPagoCore.Extensions.Microsoft.DependencyInjection&version=1.0.0                

MercadoPagoCore - Repository

This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.

Build Status

.NET Core

MercadoPagoCore

πŸš€ Package information

latest version downloads APM

πŸ’‘ Requirements

.NET >= 5.0

πŸ“² Installation

Using our nuget package

First time using Mercado Pago? Create your Mercado Pago account, if you don’t have one already.

Using Package Manager

PM> Install-Package MercadoPagoCore.Extensions.Microsoft.DependencyInjection -Version 1.0.0

Using .Net CLI

> dotnet add package MercadoPagoCore.Extensions.Microsoft.DependencyInjection --version 1.0.0

Using Paket CLI

> paket add MercadoPagoCore.Extensions.Microsoft.DependencyInjection --version 1.0.0

Using Package Reference

<PackageReference Include="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />

Copy the access_token in the credentials section of the page and replace YOUR_ACCESS_TOKEN with it.

That's it! MercadoPagoCore SDK has been successfully installed.

🌟 Getting Started

Simple usage looks like:

using System;
using System.Threading.Tasks;
using MercadoPago.Client.Payment;
using MercadoPago.Config;
using MercadoPago.Resource.Payment;

MercadoPagoConfig.AccessToken = "YOUR_ACCESS_TOKEN";

var request = new PaymentCreateRequest
{
    TransactionAmount = 10,
    Token = "CARD_TOKEN",
    Description = "Payment description",
    Installments = 1,
    PaymentMethodId = "visa",
    Payer = new PaymentPayerRequest
    {
        Email = "test.payer@email.com",
    }
};

var client = new PaymentClient();
Payment payment = await client.CreateAsync(request);

Console.WriteLine($"Payment ID: {payment.Id}");

πŸ“š Documentation

Visit our Dev Site for further information regarding:

❀️ Support

If you require technical support, please contact our support team at developers.mercadopago.com

🏻 License

MIT license. Copyright (c) 2020 
For more information, see the LICENSE file.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
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
1.0.0 1,237 1/16/2021 1.0.0 is deprecated.