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
- Enable PayPal in Payment methods and enter client credentials for the store.
- Configure return/cancel URLs to the Join Markt checkout invoice.
- Point webhooks (and IPN if used) at your deployment origin.
- 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.