Թողարկման նշումներ
Added
- First release: a Paystack payment gateway built on
Hostpanel.Sdk3.5.0. - Start a payment: a transaction for one invoice amount in minor units, sent unchanged, with the host order number as the Paystack reference, so a repeated call for the same order meets Paystack's refusal of a reference it already holds instead of opening a second transaction. The checkout address Paystack returns must be
https, carry no credentials and be on a Paystack host. - Read the status:
successis paid only when the answer names the requested reference, the configured currency and a positive whole amount; otherwise the status stays pending and a warning is logged. Every other status is pending. Only a reference Paystack does not know is declined. - Refunds with the host refund id written into the merchant note. A retry finds its own refund by that note before anything is sent and answers it, makes a new one when the earlier one failed, and stops without sending when the earlier one is of uncertain outcome or the refund list cannot be read or may be incomplete.
- No webhook: payments settle through the host's status polling, which reads Paystack's own state each time.
- A secret key is accepted only when its prefix matches the mode,
sk_test_in test mode andsk_live_in live mode, before any call. - Settings: secret key, mode (test or live), currency and customer email, with English, Russian and Armenian labels.
- Safe handling of every answer: a read limit of 1 MiB, a redirect or an answer from another address refused, a 30 second limit on an injected clock, no inner exception on a failure, status words read exactly in lower case, and an error code shown only when it is a short word of safe characters. Rate limits and server failures are told apart from other refusals.
- Marketplace listing: a cover and three screenshots in
screenshots/, with their editable sources indesign/. - The plugin icon, the cover and the screenshots use the official Paystack logomark, unaltered.
Notes
- The
payer_emailsetting is temporary. Paystack needs an email for every payment and the SDK payment instruction does not carry the payer's address yet, so one configured address is recorded as the customer of every payment. The setting goes away once the SDK carries the payer email.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «paystack» նույնացուցիչով պլագինը և ընտրեք 1.0.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։