> ## Documentation Index
> Fetch the complete documentation index at: https://www.spacebring.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment gateway

> Learn how customers pay online with the New payment method option and save their cards, how to add, delete, or set a default saved payment method for a customer, and how to take a payment at the front desk with a QR code

With a [payment gateway connected](https://www.spacebring.com/docs/integrations/payments.md) to the location, customers pay online for bookings, event tickets, shop orders, packages, subscriptions, and invoices:

* When customers book, buy, or pay an invoice in the member portal or mobile app, they pay with a new payment method or with one they saved earlier.
* When you make a booking or a purchase for a customer at the front desk, the customer can scan a QR code with their phone and pay on the gateway's payment page.

## Pay with a new payment method

1. When making a booking or purchase, customers choose **New payment method** under **Payment**.

![The Payment section of a new booking with a saved Visa card and the New payment method option for Stripe on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/KENyhoCg8_8hTt9t/images/billing-payments-payment-gateway-3.png?fit=max\&auto=format\&n=KENyhoCg8_8hTt9t\&q=85\&s=287fd762e64171bc9500a8787998d0bc)

2. They're redirected to the gateway's payment page, which offers all the [payment methods your gateway supports](https://www.spacebring.com/docs/integrations/payments.md#supported-payment-methods), and complete the payment there.
3. Once the payment succeeds, they see a confirmation and receive an email with the receipt and the invoice.
   * Customers find the payment under **Membership** > **Billing** > **Transactions**, and administrators on the [**Transactions**](https://www.spacebring.com/docs/billing/payments/transactions.md) page.

## Pay with a saved payment method

If you have a [Stripe](https://www.spacebring.com/docs/integrations/payments/stripe.md), [WayForPay](https://www.spacebring.com/docs/integrations/payments/wayforpay.md), [Tap](https://www.spacebring.com/docs/integrations/payments/tap.md), [plata by mono](https://www.spacebring.com/docs/integrations/payments/plata-by-mono.md), [HyperPay](https://www.spacebring.com/docs/integrations/payments/hyperpay.md), [PayTabs](https://www.spacebring.com/docs/integrations/payments/paytabs.md), [Mollie](https://www.spacebring.com/docs/integrations/payments/mollie.md), or [PayPal](https://www.spacebring.com/docs/integrations/payments/paypal.md) payment gateway connected, customers can have their payment methods saved for quick and automatic payments. A payment method is saved automatically once the customer pays with it, and the customer or an administrator can also [add it](#add-a-payment-method) manually. With PayPal, a card can only be added manually.

* With a saved card, customers can pay for bookings, event tickets, shop orders, packages, subscription purchases, invoices, and one-off payments.
* With a saved bank account, customers can pay only for invoices, subscription purchases, and one-off payments.

> [!NOTE]
>
> Paying with a bank account is possible only with a Stripe payment gateway with [bank debits](https://www.spacebring.com/docs/integrations/payments/stripe/bank-debits.md), or a [Mollie](https://www.spacebring.com/docs/integrations/payments/mollie.md#how-mollie-works) payment gateway, where paying with iDEAL saves the bank account.

Administrators can also [charge a customer's](https://www.spacebring.com/docs/billing/payments/payment-methods.md#charge-a-customer-as-an-administrator) saved payment method for a booking, event ticket, shop order, invoice, or one-off payment.

### Add a payment method

Customers can add their payment method as follows:

1. Go to **Membership** > **Billing**.
   * Individual members go to the **Personal** section on **Membership**.
   * Company managers go to the section with their company name to add a company payment method, or to the **Personal** section to add their own.
2. Under the **Payment methods** section, press **Add** and input their details.
   * When the location has more than one payment gateway connected, each button names its gateway, such as **Add with Stripe**.

![The Payment methods section with the Add with PayPal and Add with Stripe buttons on the Billing page in the member web portal on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/T5um_hYfKSyNk7Z7/images/billing-payments-payment-gateway-1.png?fit=max\&auto=format\&n=T5um_hYfKSyNk7Z7\&q=85\&s=e34b95156eb621f2ea8320234aad7c89)

Administrators can also add a payment method for a customer, if needed:

1. Go to **Customers** > open the member or company profile, depending on who the payment method is for.
2. In the **Payment methods** section, click **Add**.
   * When the location has more than one payment gateway connected, each button names its gateway, such as **Add with Stripe**.

![The Payment methods section with the Add with PayPal and Add with Stripe buttons in a member's profile on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/EPqdSjexcd1H3OF2/images/billing-payments-payment-gateway-2.png?fit=max\&auto=format\&n=EPqdSjexcd1H3OF2\&q=85\&s=e63e283f7cfaba0736d9241d19968802)

3. Add a payment method > **Save**.

### Set a default payment method

The default payment method is used for [automatic invoice charges](https://www.spacebring.com/docs/billing/subscriptions/invoice-auto-charge.md) by subscription. The customer's payment method becomes the default one once they pay at least one invoice with it, but it can also be set as default manually.

* Customers go to **Membership** > **Billing**, click **(...)** next to the payment method, and press **Set as default**.
* Administrators go to **Customers**, open the customer's profile, click **(...)** next to the payment method, and press **Set as default**.

To switch the default to a new card, add the card first, set it as default, and then delete the previous one.

### Delete a payment method

* Customers go to **Membership** > **Billing**, tap **(...)** next to the payment method, and press **Delete**.

![The Delete option in a saved card's menu on the Billing page in the member web portal on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/T5um_hYfKSyNk7Z7/images/billing-payments-payment-gateway-5.png?fit=max\&auto=format\&n=T5um_hYfKSyNk7Z7\&q=85\&s=a24f3b073fcef1e85082fa2c2613c872)

* Administrators go to **Customers**, open the customer's profile, click **(...)** next to the payment method, and press **Delete**.

![The Delete option in a saved card's menu in a company's profile on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/Ozxzc1dtVyFXpD1t/images/billing-payments-payment-gateway-6.png?fit=max\&auto=format\&n=Ozxzc1dtVyFXpD1t\&q=85\&s=a0816c22189539ffe2c2cd4771ec5264)

Customers with an active subscription can't delete their default payment method. They must first add a new payment method and set it as the default, and then delete the previous one. Administrators can delete a customer's default payment method even when the customer has an active subscription.

> [!TIP]
>
> To stop automatic charges for a customer, [disable **Auto-pay**](https://www.spacebring.com/docs/billing/subscriptions/invoice-auto-charge.md) rather than deleting their payment method. When **Auto-pay** is disabled, the customer keeps their default payment method on file, is never charged automatically, and pays each issued invoice manually.

## Take a payment at the front desk with a QR code

You can make a booking or a purchase for a customer in the admin mobile app or the admin web portal and let them scan a QR code on your screen to open the gateway's payment page and pay.

1. Start the purchase for the customer:
   * For a booking, open the resource and book it for the customer.
   * For an event ticket, open the event, and under **Attendees**, press **Add**.
   * For a shop order, press **Create order** on the **Orders** page.
   * For a one-off payment, open the customer's profile on the **Customers** page, press the menu **(...)** top right > **Create payment**, and enter the [payment details](https://www.spacebring.com/docs/billing/payments/transactions.md#create-a-one-off-payment).
     * A one-off payment can take a QR code with a [Stripe](https://www.spacebring.com/docs/integrations/payments/stripe.md), [WayForPay](https://www.spacebring.com/docs/integrations/payments/wayforpay.md), [Tap](https://www.spacebring.com/docs/integrations/payments/tap.md), [plata by mono](https://www.spacebring.com/docs/integrations/payments/plata-by-mono.md), [HyperPay](https://www.spacebring.com/docs/integrations/payments/hyperpay.md), [PayTabs](https://www.spacebring.com/docs/integrations/payments/paytabs.md), [Mollie](https://www.spacebring.com/docs/integrations/payments/mollie.md), or [PayPal](https://www.spacebring.com/docs/integrations/payments/paypal.md) payment gateway.
2. Under **Payment**, select **QR code**, and create the booking, ticket, order, or payment.

![New booking in the admin mobile app with QR code selected under Payment and the Book button with the price on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/KzwSnTOBVbArABs_/images/billing-payments-payment-gateway-take-a-payment-with-a-qr-code-1.png?fit=max\&auto=format\&n=KzwSnTOBVbArABs_\&q=85\&s=bc06be95032912b534c62c8bd32c61d0)

3. Show the QR code on your screen to the customer. They scan it with their phone's camera and pay on the gateway's payment page that opens.
   * To send the payment page to a customer who isn't at the desk, press **Copy link** and share the link with them.
   * The customer has 15 minutes to pay. If they don't, the payment is canceled together with its booking, ticket, or order. To show the QR code again before then, open the booking, ticket, or order, and under **Payment**, press **Show QR code**.

![QR code screen in the admin mobile app with Scan to pay and the Copy link button on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/KzwSnTOBVbArABs_/images/billing-payments-payment-gateway-take-a-payment-with-a-qr-code-2.png?fit=max\&auto=format\&n=KzwSnTOBVbArABs_\&q=85\&s=aaef0fe5510da79919a6fcc932d8041c)

4. Once the payment succeeds, the QR code changes to **Payment succeeded**, and the customer receives an email with the receipt and the invoice.

> [!NOTE]
>
> The payment method the customer pays with this way isn't saved to their account, so it can't be used for later or automatic payments.

## FAQs

> [accordion] What happens to saved payment methods when I disconnect or change the payment gateway?
>
> Saved payment methods stay tied to the payment gateway account they were saved in:
>
> * After you disconnect the payment gateway, customers can't pay with their saved payment methods.
> * If you reconnect the same account, the saved payment methods come back.
> * If you connect a different account or another payment gateway, customers need to [add their payment details](#add-a-payment-method) again.
>
> Disconnecting also removes the default payment methods customers in the location saved with that payment gateway, even if you reconnect the same account. Until customers or administrators [set a default](#set-a-default-payment-method) again, subscription invoices aren't [charged automatically](https://www.spacebring.com/docs/billing/subscriptions/invoice-auto-charge.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.