# Product payments

> Take money in your product through a Stripe account of your own opened from Orkosi, or through the Stripe account you already run. Orkosi never holds your money.

Source: https://orkosi.com/docs/payments-connect-or-own-keys

# Product payments

Every product built on Orkosi can take payments, as subscriptions or as one-off payments. They run on Stripe, and you choose how in the **Payments** section of **Integrations › Built-in** (owner and admins).

## Two ways, one page

|                      | Stripe Connect (recommended)                                                   | My own Stripe keys                   |
| -------------------- | ------------------------------------------------------------------------------ | ------------------------------------ |
| What you need        | Nothing: one button                                                            | A Stripe account you already run     |
| Setup                | Stripe asks for your details and bank account, about three minutes             | Paste the publishable and secret key |
| Whose Stripe account | Yours: Stripe opens it in your name and you log in to it at Stripe             | Yours                                |
| Payouts              | From your Stripe balance to the bank account you gave Stripe                   | From your Stripe balance             |
| Fees                 | Stripe's fees, taken from your Stripe balance. Orkosi's own fee is on the page | Stripe's fees only                   |
| Refunds and disputes | Yours, handled in your Stripe dashboard                                        | Yours, handled in your Stripe        |
| Revenue limit        | The limit of your plan, shown on **Home › Overview**                           | None                                 |
| Webhook              | Set up for you                                                                 | Registered in your Stripe for you    |

Pick one with the two cards at the top of the page. You can disconnect and pick the other at any time; nothing your users paid is lost.

## Who holds the money

Orkosi never holds your money, on either path. Your buyers pay you: every payment is made on your own Stripe account, lands on your Stripe balance, and Stripe pays it out to your bank account. Orkosi starts the checkout for your product and counts what was sold; it cannot move, keep or pay out anything.

You are the seller. Your name is on the buyer's card statement and receipt, and your prices, terms, invoices and taxes are yours.

## Stripe Connect

1. Open the product, then **Integrations › Built-in**, and go to the **Payments** section.
2. Keep **Stripe Connect** selected and press **Connect Stripe**.
3. Stripe opens its onboarding form. Fill in your business details and bank account. You come back to Orkosi when done.
4. The page now says where the account stands, and next to it whether your clients can pay:
   - **Stripe account opened, form not finished**: Stripe still needs something from you. The page lists which parts of its form are open (your business details, your identity, your bank account, Stripe's terms). Press **Finish in Stripe** to continue where you left off.
   - **Under review by Stripe**: you sent everything and Stripe is checking it. There is nothing for you to do; checkout opens by itself when Stripe finishes.
   - **Connected with Stripe**: your clients can pay. Payouts go to your bank account on Stripe's schedule.
   - **Payments paused by Stripe**: Stripe paused payments and the page says why, in Stripe's words. Press **Stripe dashboard** to resolve it.
   - **This Stripe account must be connected again**: the account was opened under an earlier setup and can no longer take payments. Press **Connect Stripe** again; Stripe opens a new account in your name in about three minutes. Money already on the earlier account is still paid out by Stripe.

Connect accounts are created in Stripe's live mode. Orkosi's fee on your sales is shown next to the state the moment the account is enabled; it is 0 % unless the page says otherwise.

### Fees, refunds and disputes

- **Stripe's fees** are taken by Stripe from your Stripe balance, payment by payment. Stripe's price list for your country applies.
- **Refunds** are made by you, in your Stripe dashboard (press **Stripe dashboard** on the Payments page). Stripe takes the refunded amount from your Stripe balance. Orkosi cannot refund a buyer for you.
- **Disputes and chargebacks** are between you, your buyer's bank and Stripe. Stripe takes the disputed amount and its dispute fee from your Stripe balance and you answer the dispute in your Stripe dashboard. Orkosi tells you when one opens and when it closes.
- **A negative balance** (a refund or a lost dispute with too little on your balance) is owed by you to Stripe, under your agreement with Stripe. Orkosi does not cover it.

### The revenue limit

Payments through Stripe Connect are included in every paid plan up to the revenue limit of that plan. **Home › Overview** shows how much of it you have used, and how much is held by checkouts that are open right now.

- A checkout is refused when its amount no longer fits under the limit, counting the checkouts your buyers have open at that moment. A buyer who abandons a checkout frees its amount when the checkout expires.
- A subscription renewal that no longer fits is not charged: the subscriber keeps the subscription and is not billed for that period. Renewals are charged again as soon as there is room, and you get a message when the first one is stopped.
- Refunds give their amount back to the limit.
- The limit counts the amount in the currency you charge in.
- To sell without a limit, switch to **My own Stripe keys**. The limit only applies to Stripe Connect.

## My own Stripe keys

1. In your Stripe dashboard, open **Developers › API keys**.
2. On the Payments page select **My own Stripe keys** and choose **Test** or **Live**. Test keys start with `pk_test_` and `sk_test_`, live keys with `pk_live_` and `sk_live_`. The page refuses a pair that does not match the choice.
3. Paste both keys and press **Save keys**. Stripe checks the secret key, Orkosi stores it encrypted and never shows it again. Your app receives the keys and a webhook endpoint is registered in your Stripe for the events the templates handle.
4. With test keys the page offers **Run a test charge**: it pays one US dollar with Stripe's `4242 4242 4242 4242` test card and refunds it at once, whatever currency your plans are in. The result is shown under the button, with Stripe's reason when it fails.
5. When you are ready for real money, disconnect and save your live keys the same way.

Own keys take no platform fee. Stripe's fees are charged to your account directly.

## What your users can do, state by state

The page always carries a badge and one sentence saying what your clients can do right now:

- **Clients cannot pay yet**: nothing is connected, or Stripe's form is not finished, or Stripe is still checking what you sent, or the account must be connected again. The sentence says which, and what opens checkout.
- **Clients can pay**: subscriptions and one-off payments work, on a connected account or on your own live keys.
- **Clients cannot pay**: payments are paused by Stripe until you resolve the reason shown.
- **Test cards only**: your own test keys are saved; only Stripe's test cards work and nobody is charged.

## Plans and the setup checklist

Under the Stripe account, **Plans & products** is what your app sells. Each plan you save is sent to Stripe for you. When a plan did not reach Stripe, its row says why and whose turn it is, and **Try again** sends it again. With your own keys a plan can be bought only once it is in Stripe; on a connected account checkout charges the price shown on the row.

**Payments setup** is the short checklist of what is done: the Stripe account, the plans your clients can buy, the events from Stripe and your app. It reads **Ready** only when a client can really pay, and **Ready in test mode** while your own test keys are saved.

## Disconnecting

**Disconnect Stripe** asks before it does anything. After you confirm, your clients can no longer pay until you connect again; your plans stay as they are, and your Stripe account, with its balance and its history, is not deleted.

## Test cards

In test mode (own test keys, or a Connect account while Orkosi itself runs on a test platform key) use Stripe's test cards:

| Card                  | What happens                       |
| --------------------- | ---------------------------------- |
| `4242 4242 4242 4242` | Succeeds                           |
| `4000 0025 0000 3155` | Asks for 3-D Secure, then succeeds |
| `4000 0000 0000 9995` | Declined, insufficient funds       |

Any future expiry date and any three-digit CVC.

## Related

- [Billing](https://orkosi.com/docs/billing): your Orkosi plan, which is separate from what your product takes from its users.
- [Integrations](https://orkosi.com/docs/integrations#payments): the **Will you take payments?** switch and the rest of the Built-in page.
