Release notes
Added
- More than one currency. The new setting
additional_currencies(a comma separated list, for exampleEUR,KES) adds currencies to the maincurrency; the plugin answersAcceptsCurrencyfor exactly those, and a payment or refund the host states in one of them (PaymentInstruction.Currency,RefundInstruction.Currency, SDK 3.19.0) is made in that currency with its own decimals. A currency outside the list is refused before any call, and a status call reads the currency from the transaction and credits it only when it is one of those. With no additional currency nothing changes. English, Russian and Armenian texts. - Refund state. The gateway implements
IPaymentRefundStatePlugin:StartRefundAsyncmakes the refund with the same retry rules asRefundAsyncand reports where it stands, andGetRefundStateAsyncreads that refund from the refund list of its transaction. Only a channel specific completed status (completed-mpgs,completed-momo,completed-bank-transfer,completed-offline,completed-preauth) is completed; the plaincompletedword (initiated, waiting for disbursement), the pending words, processing and a word nobody knows are pending, andfailedis failed, so the host holds the amount as reserved until the money has gone. meta.order_numberon a hosted payment: the host's order number, kept with the transaction and shown in the Flutterwave dashboard.
Changed
- Built on
Hostpanel.Sdk3.19.0 (sdkPackageVersion3.19.0).minHostVersionis now 0.12.0, the first host release that sends the payment currency and handles the refund state capability. - A payment whose payer e-mail the host does not pass, or passes as something that is not a plain address, is refused before any call. Every such payer used to be recorded at Flutterwave as one customer under the fallback address.
Removed
- The
customer_emailsetting. The host passes the payer's own address from 0.8.0, so the fallback is never needed on 0.12.0. A value stored under that key is ignored.
Not done
- Saved cards and tokenised charges, a reversal state from chargebacks, ending a session at the host and the session start without the reference, and shared helpers: each waits for the SDK or for Flutterwave, as the README says under "Not implemented".
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "flutterwave" and choose version 1.4.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.