Заметки к выпуску
Added
- First release: a Flutterwave Standard payment gateway built on
Hostpanel.Sdk3.5.0. - Start a payment: a hosted checkout link for the invoice amount, created under a
tx_refbuilt from the host's order number and the UTC start of the session. The link must be anhttpspage of flutterwave.com and is handed to the host in its canonical form. The page is asked to close after 15 minutes (configurations.session_duration). - Read the status by
tx_ref: asuccessfultransaction is paid only when the answer names the requested reference, the configured currency, an id and a positive amount that is a whole number of minor units; otherwise the status stays pending and a warning is logged. Every other answer is pending while the session is open; a reference with no transaction and a failed transaction are declined once the session is over (15 minutes asked of Flutterwave plus 5 minutes of margin, measured on an injected clock). The raw status handed to the host is the name of the parsed status, never Flutterwave's text. - Status words, the currency and the answer's
statusword are matched exactly and case sensitively, from explicit tables; member names of Flutterwave's JSON are read exactly and numbers written as text are refused. - Exact amount conversion between the host's minor units and Flutterwave's decimals, with the decimals of each currency and no rounding.
- Refunds that recognise a retry before anything is sent: by the host's refund id in the refund comment, else by the refunded total, with a refused refund list that cannot be read exactly and a refusal of a refund above the paid amount.
- No webhook: payments settle through the host's status polling, which verifies the transaction at Flutterwave each time.
- A secret key is accepted only when its prefix matches the mode,
FLWSECK_TEST-in test andFLWSECK-in live, before any call. - Settings: secret key, mode (test or live), currency and customer e-mail, with English, Russian and Armenian labels, the labels of the mode options included. The mode and the currency are matched exactly as the select offers them.
- Interim:
customer_emailis one address sent for every payer, because the SDK's payment instruction carries no payer e-mail. Once it does, the plugin will send the payer's address; the setting is never renamed or removed and stays as the fallback. - Hardened calls: an answer is read only up to 1 MiB, an answer is believed only from
https://api.flutterwave.comand a redirect is a failure, a rate limit (429) and a failure on Flutterwave's side (5xx) have kinds of their own, a failure carries no inner exception, and a refund list that does not state its page count is refused as incomplete. - Marketplace listing: a cover and three screenshots in
screenshots/, with their editable sources indesign/. - The plugin icon, the cover and the screenshots use Flutterwave's official logo files, with their shapes and colours unchanged.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «flutterwave» и выберите версию 1.0.0.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.