Skip to content

Releases: mercadopago/sdk-php

1.4.0

16 Sep 17:42
299178d
Compare
Choose a tag to compare

Changes made to the feature:

  • Added refund function to Payment Class

General changes

  • Added return to the get function on Entity Class

Closed issues

  • Closes #195 #178 #148

1.3.1

09 Sep 19:06
2f701a0
Compare
Choose a tag to compare

Fixed the bugs in saving:

  • payments with the parameter capture as true;
  • preferences when the parameter sponsor id is set.

1.3.0

05 Sep 18:26
3491e8f
Compare
Choose a tag to compare
  • Add the custom taxes feature for MCO.
  • Add the discount campaign in payment.
  • Fix search.

1.2.7

15 Apr 14:49
bef56df
Compare
Choose a tag to compare

Optional params in main methods

1.2.6

15 Mar 13:54
c5ef466
Compare
Choose a tag to compare

1.2.6-beta

12 Mar 21:46
e0f6815
Compare
Choose a tag to compare
1.2.6-beta Pre-release
Pre-release

Release notes:

  • Se incluye la posibilidad de consultar el feedback sobre una respuesta con codigo de error
  • Se permite consultar las causas multiples de un error de validación después de una actualización o guardado.

Para métodos de instancia: save() y update()

$payment = new MercadoPago\Payment();

// ...

if ($payment->save()) { // Si se pudo guardar correctamente
      echo $payment->status;
} else { 
      echo "Ups: " . $payment->error; // `error` retorna un resumen del error
}

Para explorar las causas del error

foreach($payment->error->causes as $cause) {
     echo $cause->code . ' ' . $cause->description;
}

Para métodos estáticos: find_by_id() y delete() [WIP]

Para métodos bulk: search() y all() [WIP]

1.2.5

27 Feb 15:31
Compare
Choose a tag to compare

Se permite la instalación de versiones superiores de doctrine/commons, pero manteniendo la version de doctrine/annotations fija.

1.2.4

18 Dec 15:12
6452ccf
Compare
Choose a tag to compare
  • Se resuelve un bug que ocasionaba que los pagos no puedan ser devueltos.
  • Se corrige la suite de test

1.2.3

04 Dec 13:40
Compare
Choose a tag to compare
  • Fixing invoice entity
  • An small hack to support milliseconds on ISO8601

1.2.2

29 Nov 14:37
Compare
Choose a tag to compare
Merge branch 'master' of github.com:mercadopago/dx-php