Release notes
Added
- The payment link is made for an
orderinstead of a quick pay item: the order number is the order'sreference_idand the invoice lines the host sends (PaymentInstruction.Lines) are itsline_itemswhenever they add up exactly to the amount, otherwise one line carries the whole amount. - Four optional settings,
accept_apple_pay,accept_google_pay,accept_cash_app_payandaccept_afterpay_clearpay, forcheckout_options.accepted_payment_methods. A setting left empty is not sent. - An order paid with several tenders (for example a gift card and a card) is now paid when every payment is completed and in one currency, with the sum of the amounts and the payment ids joined with
+as the transaction. Before, it stayed pending although money was taken. Such an order is not refunded by one refund: it is refused and its payments are refunded in the Square dashboard. - A paid order is checked against the disputes of the location: a payment whose dispute was lost or accepted is reported as
Reversed(SDK 3.19.0). The webhook acceptsdispute.createdanddispute.state.updated, resolves the order of the disputed payment and asks the host to read it. A token without the permission to read disputes leaves the order paid and logs a warning.
Changed
- The plugin is built on
Hostpanel.Sdk3.19.0 andminHostVersionis 0.12.0, the first host release that handles theReversedstate. - The
Square-Versionheader is raised from2024-10-17to2026-11-18. - Existing payment links stay valid; the idempotency key of a new link now also covers the lines and the wallet settings.
Not done
- Cards on file for renewals (
IStoredCredentialPlugin) needs SDK members that 3.19.0 does not have (the callback base URL and a structured client token forBeginSaveMethodAsync, and a way forCompleteSaveMethodAsyncto receive the Web Payments SDK token), so it is not part of this release.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "square" and choose version 1.5.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.