Payments
Choose how your customers pay: by card with Stripe, with PayPal, or in cash when the order arrives. Set up each method, test it, then take real payments.

Three ways to get paid
EverShop has three payment methods built in. Turn on one or more of them in Setting › Payment Setting. Customers see only the methods you turn on.
| Stripe | PayPal | Cash on delivery | |
|---|---|---|---|
| How customers pay | By card, in a Stripe form on your checkout page. Apple Pay, Google Pay and other methods you turn on in Stripe can show too. | On PayPal's website. The customer approves the payment there, then comes back to your store. | In cash, when the order arrives. |
| What you need | A Stripe account, two API keys and a webhook. | A PayPal Business account, API credentials and a webhook. | Nothing more. It is part of EverShop. |
| Payment status after checkout | Captured. With the payment mode Authorize only: Authorized, until you capture it. | Captured. With the payment mode Authorize only: Authorized, until you capture it. | Pending, until you click Capture Payment when the customer pays. |
| When a customer does not finish paying | EverShop cancels the order an hour or more later, and the items go back to stock. | EverShop cancels the order 6 hours or more later, and the items go back to stock. | Does not apply. If the customer refuses the parcel, you cancel the order. |
| Refunds | EverShop asks Stripe to return the money to the customer. | EverShop asks PayPal to return the money to the customer. | EverShop records the refund. You hand back the cash. |
| Test before you open | Test keys from a Stripe sandbox, and Stripe's test cards. | Environment Sandbox, and a PayPal sandbox buyer account. | A normal order that you cancel afterwards. |
| Fees | Stripe charges a fee for each payment. | PayPal charges a fee for each payment. | No payment fee. |
EverShop takes no share of your sales, on your own server or on EverShop Cloud. Click a method to set it up.
From setup to your first real payment
Every store takes the same steps. The pictures come from the demo store, which takes cash on delivery.
Connect Stripe or PayPal
Copy your API keys from Stripe, or your API credentials from PayPal, and paste them in Setting › Payment Setting. Then create the webhook: it is how Stripe and PayPal tell EverShop that a customer paid.

Offer cash on delivery
Turn it on and choose the name customers see at checkout. You need no account. The order is placed at once, and you record the cash when the customer pays.

Test, then go live
Place a test order with each method: a Stripe test card, a PayPal sandbox buyer, a normal order for cash on delivery. Cancel or refund the test orders. Then replace the test keys with live keys, and switch PayPal from Sandbox to Live.

Capture and refund
After checkout, each order has a payment status. Record the cash when a cash on delivery customer pays, or take the money of an authorized card payment. Refund all or part of a paid order: Stripe and PayPal return the money for you.

All payment guides
Set up a payment method
Before you open your store
For developers
Stripe, PayPal and cash on delivery are EverShop core modules. Their settings can also come from the store configuration, and an extension can add your own payment method.
POST/api/stripe/paymentIntentsStart a Stripe payment at checkoutPOST/api/stripe/webhookReceive Stripe eventsPOST/api/paypal/ordersStart a PayPal payment at checkoutPOST/api/paypal/webhookReceive PayPal events