Mercadopago SDK


Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

com.mercadopago
Идентификатор

Идентификатор

dx-java
Последняя версия

Последняя версия

1.8.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Mercadopago SDK
Mercadopago SDK
Ссылка на сайт

Ссылка на сайт

https://github.com/mercadopago/dx-java
Система контроля версий

Система контроля версий

https://github.com/mercadopago/dx-java.git

Скачать dx-java

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.mercadopago/dx-java/ -->
<dependency>
    <groupId>com.mercadopago</groupId>
    <artifactId>dx-java</artifactId>
    <version>1.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.mercadopago/dx-java/
implementation 'com.mercadopago:dx-java:1.8.0'
// https://jarcasting.com/artifacts/com.mercadopago/dx-java/
implementation ("com.mercadopago:dx-java:1.8.0")
'com.mercadopago:dx-java:jar:1.8.0'
<dependency org="com.mercadopago" name="dx-java" rev="1.8.0">
  <artifact name="dx-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mercadopago', module='dx-java', version='1.8.0')
)
libraryDependencies += "com.mercadopago" % "dx-java" % "1.8.0"
[com.mercadopago/dx-java "1.8.0"]

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugins : maven-javadoc-plugin jar 3.2.0
com.google.guava : guava jar [24.1.1,)
commons-io : commons-io jar 2.4
org.apache.httpcomponents : httpclient jar 4.5.9
org.apache.commons : commons-lang3 jar 3.1
commons-lang : commons-lang jar 2.5
commons-validator : commons-validator jar 1.4.0
com.sun.jersey : jersey-core jar 1.17.1
com.google.code.gson : gson jar 2.8.0
com.fasterxml.jackson.core : jackson-databind jar 2.10.0.pr1

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Mercado Pago SDK for Java

Maven Central APM

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

💡 Requirements

Java 1.4 or higher

📲 Installation

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

  1. Append MercadoPago dependencies to pom.xml
  ...
  <dependencies>
      <dependency>
          <groupId> com.mercadopago </groupId>
          <artifactId> dx-java </artifactId>
          <version> 1.7.1 </version>
      </dependency>
  </dependencies>
  ...
  1. Run mvn install and thats all, you have Mercado Pago SDK installed.

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

That's it! Mercado Pago SDK has been successfully installed.

🌟 Getting Started

Simple usage looks like:

  import com.mercadopago.*;
  import com.mercadopago.exceptions.MPConfException;
  import com.mercadopago.exceptions.MPException;
  import com.mercadopago.resources.Payment;
  import com.mercadopago.resources.datastructures.payment.Payer;

  public class Main {

      public static void main(String[] args)throws MPException, MPConfException {
          MercadoPago.SDK.setAccessToken("YOUR_ACCESS_TOKEN");

          Payment payment = new Payment()
                  .setTransactionAmount(100f)
                  .setToken("your_cardtoken")
                  .setDescription("description")
                  .setInstallments(1)
                  .setPaymentMethodId("visa")
                  .setPayer(new Payer()
                          .setEmail("dummy_email"));

          payment.save();
      }
  }

📚 Documentation

Visit our Dev Site for further information regarding:

Check our official code reference to explore all available functionalities.

❤️ Support

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

🏻 License

MIT license. Copyright (c) 2018 - Mercado Pago / Mercado Libre 
For more information, see the LICENSE file.
com.mercadopago

MercadoPago Developers

These are the official MercadoPago public repositories. All contributions are welcome!

Версии библиотеки

Версия
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.4
1.4.3
1.4.1
1.4.0
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.6