- Drop compatibility with pre-4.3.0 callback URLs.
- There are now separate endpoints for successful/failed/pending payments. Each one will then redirect to a separate URL, which must now be defined in the configuration (see README for details).
- Settings are now contained in a single
dict
, which should keep your Django settings file tidier. Its entries can also be modified at runtime, if needed.
- Show a currently valid access token in the Account admin.
- Support yet another notification format (apparently only used for merchant orders though).
- Fix notifications view crashing when receiving a POST for a merchant order (it seems these notifications are messed up and have rubbish).
- Notifications endpoints now return JSON (which should make testing apps slightly more pleasant).
- Fix parsing of notifications received via POST, which seem to have a different format to those which are received via GET.
- Added a missing migration for recent notification changes.
- Notifications are now processed either if received via GET or POST. Formerly, only GET was used, but this seems to be changing recently.
- Merged
STATUS_UNPROCESSED
andSTATUS_WITH_UPDATES
into justSTATUS_PENDING
. The latter was not actually used as expected, and the overlap was confusing and of little use. - Allow polling Preference statuses via the admin.
- Fix crashes when dealing with unknown preferences.
- Improved logging for received notifications.
- Notification and callback URLs are now unique per-preference, making it even clearer to identify them by URL. This version keeps backwards compatibility with old URLs (for yet-to-be-paid preferences with old-style URLs).
- Notifications now have a direct relationship to the preference they belong to.
- Rename package to
django-mercadopago
.
- Indicate that this package is being renamed to
django-mercadopago
on PyPI. - List
factory-boy
as an optional dependency (only if you're using test fixtures).
- Provide fixtures for all models.
- Replaced
payer
withextra_fields
, which allow sending a lot more custom data to MercadoPago when creating preferences.
- Allow sending
payer
anddescription
when creating preferences. - Replaced
MERCADOPAGO_ASYNC
with the oppositeMERCADOPAGO_AUTOPROCESS
setting, since asynchronous processing will never be built in (only the necessary helpers) - Fire a signal when a notification is received. The docs mention how to listen to it, which you might want to do if you'd like to do asynchronous processing.
- Add a management command to poll unpaid preferences.
- Introduced this changelog.