Release notes
Added
- More than one currency. The new
additional_currenciessetting lists further currencies (three letter codes, comma separated) next tocurrency. The plugin accepts an invoice in any of them (AcceptsCurrency), builds the buy link in the invoice currency (PaymentInstruction.Currency), reads a paid order in any accepted currency and reports that currency to the host, and refunds in the currency the host names (RefundInstruction.Currency). An unknown entry is refused like a wrong value. A host older than 3.19.0 sends no currency, and the default one is used. - A payment that an earlier read saw paid and whose orders now read as canceled or reversed is reported as
GatewayPaymentState.Reversed, so the host can reopen the invoice.
Changed
- The plugin is built on
Hostpanel.Sdk3.19.0;sdkPackageVersionis 3.19.0 andminHostVersionis 0.12.0, the first host release that uses these members. - The README records why saved methods, chargeback detection and the check of the return signature are not built.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "2checkout" 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.