Release notes
The first release; the version in plugin.json and the project is 1.0.0, and the release tag is v1.0.0.
Added
- Adyen payment gateway plugin published by Innovayse, built against
Hostpanel.Sdk3.5.0, manifest version 2. - Payments through Adyen Pay by Link on the Checkout API v71, with an idempotency key per request, the payer redirected only to an
adyen.linkoradyen.comaddress, and a status read that mapscompleted, the unfinished states andexpired. - Cancellation of an unpaid payment by expiring its link (
IPaymentCancelPlugin), with the three outcomes the host understands. - Full and partial refunds of a paid payment through the payment modifications endpoint, safe to retry: the host's refund id is the idempotency key and the refund's reference, and a refund beyond what was paid is refused before it is sent.
- A webhook that only records the payment reference a refund needs, from a successful authorisation of a payment the plugin created (its reference starts with
hostpanel-), after the HMAC signature, the live flag and the merchant account have been verified. It never decides the state of a payment. What it keeps is bounded: one key per payment and an index of them with their time, at most 900 payments (901 keys, under the host's default of 1000), an entry removed after 120 days, 503 when the store is full (a throughput of 7.5 recorded payments a day on average, stated in the readme), at most 10 items and 256 KiB per delivery, one writer at a time for the index, the index written before the entry it names and an entry removed before the index stops naming it. - Status words, event codes and the word that expires a link are spelled out as documented and never taken from an enum name; a word that is not exactly a documented one is unknown.
- Failures carry a typed kind, with a rate limit (429) and a server failure (500 and above) told apart from a refusal, a body that breaks mid stream counted as a connection failure, the call timeout run on an injected clock, and no inner exception kept. Answers are taken with their headers first and read only up to 1 MiB (a
Content-Lengthover the limit is refused unread, an answer of unknown length is given up on at the limit), and only from the host that was called; an answer that does not say where it came from is refused. The error code of a failed call is kept only when it is a short plain token, and the status text given to the host is always a documented word orunknown. - Separate test and live API keys, merchant accounts and HMAC keys, a live URL prefix checked so it cannot change the host, and a refusal of the same key for both modes, all before any call. Secrets are never logged or put in a message.
- Typed settings with English, Russian and Armenian texts.
- A status read reports
Paidonly when the answer is the link that was asked for, in a known currency, with a whole positive amount; otherwise it is pending and logs a warning. Amounts are never scaled or rounded. - A link unknown under the environment of the mode but known under the other mode's is raised as a mode mismatch. Refusals other than a missing link are raised.
- The plugin icon, the cover and the screenshots show the official Adyen logo from Adyen's press kit, unaltered: the icon is the press kit file "Adyen logo on white background" with only
role="img"and a<title>added, and the design sources place the same path data unchanged.BrandAssetsTestspins the path data. - Marketplace listing: a cover and three screenshots in
screenshots/, with their SVG sources indesign/, shipped in the package.PluginListingTestspins the tags, the images and their 1600 by 1000 size. - A refund of a payment older than the retention, whose reference has been removed, is refused with its own failure kind and a message that names the age and the Customer Area; a younger payment with no recorded reference points at the webhook.
- Unit tests over a fake HTTP handler, a layer architecture test, the house rules in
rules/,ci.ymland a signedrelease.yml.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "adyen" and choose version 1.0.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.