![]() |
VOOZH | about |
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
<PackageReference Include="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />
<PackageVersion Include="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="MercadoPagoCore.Extensions.Microsoft.DependencyInjection" />Project file
paket add MercadoPagoCore.Extensions.Microsoft.DependencyInjection --version 1.0.0
#r "nuget: MercadoPagoCore.Extensions.Microsoft.DependencyInjection, 1.0.0"
#:package MercadoPagoCore.Extensions.Microsoft.DependencyInjection@1.0.0
#addin nuget:?package=MercadoPagoCore.Extensions.Microsoft.DependencyInjection&version=1.0.0Install as a Cake Addin
#tool nuget:?package=MercadoPagoCore.Extensions.Microsoft.DependencyInjection&version=1.0.0Install as a Cake Tool
This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.
π latest version
π downloads
π APM
.NET >= 5.0
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.
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}");
Visit our Dev Site for further information regarding:
If you require technical support, please contact our support team at developers.mercadopago.com
MIT license. Copyright (c) 2020
For more information, see the LICENSE file.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.0 | 1,586 | 1/16/2021 | 1.0.0 is deprecated. |