LetsPay
Skip to content

Plugins

Available integrations and the requirements for building a store adapter.

Plugin catalogue

Official CMS plugins are in preparation. For a store connecting today, use the invoice API and signed webhooks. Published plugins will appear here with their platform, version and installation guide.

Build a store adapter

  1. Keep production and test credentials in the platform’s server-side secret storage. Configure the project’s webhook endpoint and keep a mapping from the store order to the LetsPay invoice ID.
  2. At checkout, calculate the final amount from the stored order, create the invoice with a stable order_id, and open the returned checkout_url. Use the signed event to mark the order as paid.

Test a plugin before release

Cover a repeated invoice request, a signed test event, an invalid signature, a mismatched amount and duplicate delivery. Use local fixtures for paid, partial, expired and review states. Confirm that a browser return alone cannot fulfil an order and that an acknowledged duplicate never fulfils it twice.