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

// Install MercadoPagoCore as a Cake Tool
#tool nuget:?package=MercadoPagoCore&version=5.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

.NETCoreApp >= 3.1

πŸ“² 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 -Version 5.0.0

Using .Net CLI

> dotnet add package MercadoPagoCore --version 5.0.0

Using Paket CLI

> paket add MercadoPagoCore --version 5.0.0

Using Package Reference

<PackageReference Include="MercadoPagoCore" Version="5.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 (1)

Showing the top 1 NuGet packages that depend on MercadoPagoCore:

Package Downloads
MercadoPagoCore.Extensions.Microsoft.DependencyInjection

The inofficial MercadoPagoCore SDK for ASP.NET core apps

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 1,548 1/16/2021 5.0.0 is deprecated.
2.0.0 1,591 11/17/2020
1.0.5 707 11/7/2020
1.0.4 1,383 8/17/2020
1.0.3 493 8/16/2020
1.0.2 476 8/15/2020
1.0.1 933 8/14/2020
1.0.0 536 8/14/2020