Skip to main content

Setup

Swap stripe() for any PayKit provider and everything else stays the same.

Configuration Options

amountToCentsMultiplier

Some providers (e.g. GoPay) expect amounts in the smallest currency unit — 3000 for 30 EUR. If Medusa is passing the amount in the major unit, set this option to convert automatically:
Defaults to 1 (no conversion). Minimum value is 1.

Example

See a working Medusa + PayKit server: GitHub