Release notes
Built against Hostpanel.Sdk 3.7.0; the pin moves from 3.5.0 to [3.7.0]. Nothing changes for the user.
Changed
- Calls to Mercado Pago go through the SDK's
PluginHttp. The hand written bounded body read, the check of the final host and the hand made deadline are gone. A refused or dropped connection arrives as aPluginHttpExceptionwithPluginHttpFault.Transport, and the client maps each fault to its own error kind in one place. The deadline now covers the sending of a call and the reading of its answer one after the other. The warning for a broken connection no longer names the type of the exception. - A 3xx answer is rejected by its status and is not followed, as the redirect rule of the SDK says.
- Tests: the redirect rule is tested through
PluginHttpContract.AssertRedirectIsNotFollowedAsync, and the tests of the deleted body read helper are dropped. A connection that breaks while the body of an answer is read is now tested with a body stream that throws, and an answer that announces more than 4 MiB is tested with a body that must not be read, so dropping the length check fails a test. A refund is tested to read no account, like a status read. - The README lists, among the assumptions to verify in the sandbox, that the kind of account is checked only when a payment starts, and says what to check about it.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "mercadopago" and choose version 1.0.1.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.