Թողարկման նշումներ
The first release; the version in plugin.json and the project is 1.0.0, and the release tag is v1.0.0.
Added
- Checkout.com payment gateway plugin published by Innovayse, built against
Hostpanel.Sdk3.5.0, manifest version 2. - Payments through Checkout.com's hosted payments page. The payer is redirected only to a
checkout.comaddress, and the return address must be an absolutehttpsaddress. - A status read that follows the page to the payment made on it. A payment is
Paidonly when Checkout.com says the money was taken and the answer checks out: it is the payment the page names, its currency is one the plugin knows and its amount is a positive whole number of minor units. Anything else that says paid isPendingand logs a warning. Amounts are never rounded and never wrap. A status word matches one documented spelling exactly, case included, from one table, so a comma list never reads as the status its numbers add up to, and the raw status handed to the host is cut to 64 characters. - Only a page Checkout.com does not know is
Declined, apart from the final statuses of Checkout.com itself. Every refusal, outage and timeout is raised, so the host asks again. - Full and partial refunds of a paid payment, safe to retry: the host's refund id is the
Cko-Idempotency-Keyand the reference of the refund, a retry looks the reference up among the payment's actions, and a refund is not sent when the total refunded cannot be read or already covers it with no earlier refund to answer. The overload without a host refund id is refused. - Typed failures:
CheckoutComApiExceptioncarries a kind (timeout, transport, unreadable answer, answer too large, answer from another address, not found, rate limited, server error, refused) and keeps no inner exception andCheckoutComRefusalExceptioncarries a kind for every refusal the plugin makes itself. The error type in a message is bounded to 64 characters of lower case letters, digits and underscores. The 30 second timeout of a call runs on aTimeProvider. - The account prefix is one setting per environment,
sandbox_account_prefixandproduction_account_prefix. An earlier draft had a singleaccount_prefix; it was replaced before this first release, so no installation holds it and nothing reads it. - Typed settings: mode, sandbox and production secret keys (secrets, trimmed and checked against the mode before any call), currency, the account prefix of each environment, the processing channel (checked to be a
pc_id) and the billing country, which is required, with English, Russian and Armenian texts. The currency code never throws while the host lists gateways. - A page unknown under the key of the mode but known under the key of the other mode is raised as a mode mismatch, on a refund as well as on a status read. An unusable key or account prefix of the other mode means no look is made.
- Answers are read up to 1 MiB and only from the host that was called; the refund idempotency header is added with validation.
- The language of the payment instruction is sent as the
localeof the page when Checkout.com has a page in it; other languages keep the default page. - No webhook and no external origin: the SDK gives a callback no way to settle a payment, so settlement is the host's polling of the status.
- The plugin icon, the cover and the screenshots show the official Checkout.com logo, taken unaltered from the site header of checkout.com (only a role and a title are added to the icon, which keeps the site's own width and class). The cover and screenshots are in
screenshots/, with their SVG sources indesign/, shipped in the package. - Unit tests over a fake HTTP handler, a layer architecture test, the house rules in
rules/,ci.ymland a signedrelease.yml.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «checkoutcom» նույնացուցիչով պլագինը և ընտրեք 1.0.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։