Заметки к выпуску
Added
- A payment that Mercado Pago reports as
charged_back(and no payment that took money) is now read asReversed, the stateHostpanel.Sdk3.19.0 adds, instead of a plain decline. The payment has to check out as the order's own, so a charge-back of another order or mode reverses nothing. The host reopens the invoice only after this read. - The reason Mercado Pago gives for rejecting the newest attempt (
status_detail, for examplecc_rejected_insufficient_amount) is mapped to the host's fixed list of failure reasons (GatewayPaymentStatus.FailureReason), so the payer is told why in their own language. No Mercado Pago text reaches the payer. - The gateway implements
IPaymentRefundStatePlugin. A refund Mercado Pago still processes (in_process) is reported as pending and read again until it is approved (completed) or rejected or cancelled (failed), instead of being treated as done at once. A retry of a refund that happened earlier answers the state of that refund.
Changed
- Built on
Hostpanel.Sdk3.19.0 andminHostVersionis now 0.12.0, the first host that handles the reversed state and the refund state capability. The manifest statessdkPackageVersion3.19.0. - README: what is not implemented now says why saved cards (Mercado Pago asks the payer for the security code on every payment with a saved card) and more than one currency (one seller account is one country) are not possible.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «mercadopago» и выберите версию 1.4.0.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.