Заметки к выпуску
Changed
- Built on
Hostpanel.Sdk3.7.0.minHostVersionis unchanged, and a host that does not fillPaymentInstruction.PayerEmailstill gets the setting as the fallback. - The payer's own email address from the host is recorded as the customer of a payment. The
payer_emailsetting is no longer required and is used only as the fallback for a payment whose payer has no address on file; a payment with neither is refused before any call. The key is not renamed or removed, and an address is never logged. - The HTTP steps go through the SDK
PluginHttp: the bounded read of an answer, the check of where it came from, the 30 second deadline on the injected clock and the wrapping of a refused or dropped connection. The plugin's own copies of these steps are removed. A redirect answer is still refused as before, and the plugin keeps its own error type, to which every fault is mapped in one place. - The tests use the SDK
PluginHttpContractto check that the client does not follow a redirect. - The wording about a repeated payment call now says that the host makes the order number unique per attempt, so a duplicate reference can only appear for a repeat within the same second. This is in the README, in the assumptions to verify and in the documentation of the reference builder; behaviour is unchanged.
- A few documentation comments in the sources and the tests are wrapped to the full 120 characters.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «paystack» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.