---
title: Online payments with Stripe and Razorpay | Space Works
description: The Space Works online payments module adds card and UPI checkout through your own Stripe or Razorpay account, with webhooks, refunds and an in-app sheet.
url: https://spaceworkslabs.tech/platform/payments/online-payments/
updated: 2026-11-28
---

Space Works platform: Payments and charges

# Online payments through Stripe or Razorpay

Online payments is the opt-in Space Works module that lets a space take money online through Stripe or Razorpay, on top of a ledger that records what is owed without it.

Space Works separates the ledger, which always records money owed and paid, from the rail, which takes money online. This module is the rail. A space that only takes cash never needs it, and each area decides on its own whether to add online checkout.

[Install Space Works](https://spaceworkslabs.tech/platform/#install) [Read the docs](https://spaceworkslabs.tech/docs/space-works/)

At a glance

- **Part of**: [Space Works platform: Payments and charges](https://spaceworkslabs.tech/platform/payments/)

- **Status**: Optional

- **Capabilities**: 7

- **Roles**: Payer, Space Manager

Docs for this
- [Take payments](https://spaceworkslabs.tech/docs/space-works/tutorials-take-payments/)
- [Ticket orders, add-ons and series passes](https://spaceworkslabs.tech/docs/space-works/event-manager-paid-ticketing/)
- [Payments and offline receipts](https://spaceworkslabs.tech/docs/space-works/finance-payments-and-settlements/)

Module key: payments.

01 · Capabilities

## What Online payments does

- Checkout runs through Stripe or Razorpay behind one provider seam, including Stripe Connect.
- Online checkout needs the module, the payments master switch, the matching area switch such as payments for events, and valid provider credentials.
- Refunds, full or partial, go through the same provider as ledger lines that never edit the original charge.
- With the mobile apps module on, members can pay in the app through the native payment sheet.
- Late, duplicate or mismatched captures are accepted but flagged, and their receipt is held for a staff decision; disputes are recorded without automatic action.
- Test keys show a Test mode badge on payment screens and keep test money out of live totals.
- A charge raised with no gateway is marked unclaimed and is claimed by the first checkout that reaches a provider.

02 · Step by step

## How Online payments works

- Install the Payments module and turn on the payments master switch.
- Save your Stripe or Razorpay keys and set up the provider's webhooks.
- Turn on online payment per area, for example membership, events, bookings, machines, loans or the shop.
- Payers open a hosted checkout or the in-app sheet; the provider's webhook settles the charge and a receipt is issued.

03 · Roles

## Who uses it

| Role | What they can do |
| --- | --- |
| Payer | Pays their own charges online and downloads receipts. |
| Space Manager | Saves provider credentials and decides which areas offer online checkout. |

FAQ

## Online payments: questions and answers

### Do I need online payments to charge members in Space Works?

No. Space Works records charges, receipts and offline settlement without this module; it only adds the ability to pay online by card or UPI.

### Which payment providers does Space Works support?

Space Works supports Stripe, including Stripe Connect, and Razorpay, using the space's own account.

### What happens to payment history if I remove online payments?

It stays. Removing the Space Works online rail drops checkout, provider refunds, credentials and webhooks, but payments are never purged by a module purge.

Related

## More from Space Works platform: Payments and charges

[

### Charges and receipts

Charges and receipts is the permanent Space Works money ledger that records what people owe, how they paid and the numbered receipts and credit notes that prove it, with or without online payments.Read more](https://spaceworkslabs.tech/platform/payments/charges-and-receipts/) [

### Rate cards and fees

Rate cards and fees is the Space Works pricing feature that sets default prices per area, per-item overrides and member discounts, then freezes a quote that becomes a payment record.Read more](https://spaceworkslabs.tech/platform/payments/rate-cards-and-fees/)

[All of Space Works platform: Payments and charges](https://spaceworkslabs.tech/platform/payments/)

Free and open source

## Run it on your own server

Space Works is free under AGPL-3.0-or-later. One command installs it on a 64-bit Linux server, and every area can be switched on later.

[Set up your space](https://spaceworkslabs.tech/platform/#install) [Read the docs](https://spaceworkslabs.tech/docs/space-works/)
