Release notes
Changed
- Built against
Hostpanel.Sdk3.7.0 (the pin moved from 3.5.0). - The API client uses the SDK
PluginHttpfor the bounded call with its deadline, the bounded read of the body and the check of the host that answered, and no longer keeps its own copies. A refused or dropped connection, a call past its deadline, a body over 4 MiB and an answer from another address arrive as aPluginHttpExceptionand are mapped to the plugin's own failure kinds in one place. The tests drop those of the removed helpers and addPluginHttpContract.AssertRedirectIsNotFollowedAsync. - The refund journal uses
IPluginStoreAdvancedwhen the host has it: the first record of a refund id is written withSetIfAbsentAsync, so two refunds with one id cannot both start, and a refused record gets a time to live of 30 days. A started and a done record never expire, so a repeated refund id is always recognised. A full store refuses the started record and no refund is sent. A host without that capability keeps the plain writes. - A failed call no longer carries the exception that caused it, because the text of a transport exception can name the upstream host and port. The log keeps only the name of the fault, and the failure shows the operation, the reason, the HTTP status and the error code only.
- The 30 second limit on a call to 2Checkout is measured on the injected clock instead of the real one.
- An answer that announces more than 4 MiB in its
Content-Lengthheader is refused before its body is read. A body that announces nothing, or less, is still counted as it arrives and abandoned past 4 MiB. - The
.editorconfigno longer carries the SDK container note and the migrations section copied from the host.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "2checkout" 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.