Paymos Stablecoin Donations
v1.1.1Paymos · 2026年11月27日 上架
Accept one-time stablecoin donations through Paymos hosted checkout in GiveWP.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月28日
贡献者
Paymos adds a stablecoin payment method to GiveWP Visual and legacy donation forms. Donors open Paymos checkout from a status page on your site. GiveWP records a confirmed donation and offers its native receipt after the plugin verifies the payment with Paymos.
The plugin requires an HTTPS WordPress site, GiveWP 4.19.1.1 or later, and a Paymos project. Activate the plugin on each site individually. It supports one-time donations.
External services
Paymos provides the hosted checkout and merchant API used by this gateway. Read the Paymos Terms and Privacy Policy.
Connection. When an administrator starts Connect, WordPress sends client_id=paymos-cms and scope=cms:bootstrap to https://app.paymos.io/connect/cms/device. The browser approval link carries the givewp plugin identifier, the site URL, a user code, and the admin return URL when it shares the site’s origin. During approval WordPress polls https://app.paymos.io/connect/token with the device-code grant, client_id, and the secret device_code. WordPress stores the selected environment’s credentials in an encrypted option and discards the short-lived OAuth token.
Donations. When the donor opens Paymos checkout, WordPress sends POST /v1/invoices to https://api.paymos.io with project_id, amount, currency, and a random external_order_id. Donor details and GiveWP receipt credentials stay in WordPress. The plugin checks the exact invoice with GET /v1/invoices/{invoice_id} and can look up an interrupted request with GET /v1/invoices using the project and original reference. These requests carry a key ID, timestamp, and HMAC signature. The signing secret stays on your site.
Payment and confirmation. Donors open the hosted invoice at https://checkout.paymos.io. Paymos sends signed invoice notifications to the WordPress webhook associated with the connected Paymos project. The plugin verifies the signature, retrieves the exact invoice from the API, and checks its scope and payment before updating GiveWP. The WordPress scheduled reconciliation job also checks pending work through the API.
Refunds. Authorized staff can request a full or overpayment refund from GiveWP Paymos refunds. WordPress sends a signed POST /v1/refunds with invoice_id, mode, and a random external_order_id. Paymos determines the destination from the original payment. The plugin checks the operation with GET /v1/refunds/{withdrawal_id} and, when needed, the invoice-scoped GET /v1/refunds list. GiveWP records a full refund after verifying the completed Paymos operation. A refund of the excess preserves the original donation status.