Skip to main content

Setup PayPal

Standard PayPal (not Friends & Family) uses create-order plus verify and webhook/IPN settlement.

Routes

Domain helpers live in lib/domains/payments/paypal.ts.

Setup

  1. Enable PayPal in Payment methods and enter client credentials for the store.
  2. Configure return/cancel URLs to the Join Markt checkout invoice.
  3. Point webhooks (and IPN if used) at your deployment origin.
  4. Test a full pay → paid/completed → delivery unlock.

Notes

  • Create is checkout-lifecycle public + rate limited.
  • Amount must match the DB order.
  • For Friends & Family manual flow see Setup PayPal F&F.
  • Never put PayPal secrets in embed JS.