Payment provider abstraction — enables swappable PSP adapters (Mock, Mollie, Stripe).
Payment provider abstraction — enables swappable PSP adapters (Mock, Mollie, Stripe).
(create-checkout-session this
{:keys [amount-cents currency description redirect-url
success-url cancel-url webhook-url metadata
setup-future-usage customer-email
provider-customer-id]})(create-off-session-payment
this
{:keys [amount-cents currency description provider-customer-id
provider-payment-method-id metadata idempotency-key]})(expire-checkout-session this provider-checkout-id)(get-payment-status this provider-checkout-id)(process-webhook this raw-body headers)(provider-name this)(verify-webhook-signature this raw-body headers)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |