> ## 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.

# Control invoice auto-charge

> Manage "Auto-pay" to automatically charge subscription payments to a customer's default payment method or disable auto-charges for specific customers

The **Auto-pay** property allows you to collect payments from customers automatically.

With the help of Auto-pay, invoices are charged automatically to the payment method chosen for the subscription, or to the customer's default payment method, and paid within seconds. If Auto-pay is turned off, the customer needs to manually pay for each invoice.

### Prerequisites

**Auto-pay** functions if the following conditions are fulfilled:

1. Your location has [Stripe](https://www.spacebring.com/docs/integrations/payments/stripe.md), [WayForPay](https://www.spacebring.com/docs/integrations/payments/wayforpay.md), [plata by mono](https://www.spacebring.com/docs/integrations/payments/plata-by-mono.md), [Tap](https://www.spacebring.com/docs/integrations/payments/tap.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. [Other payment gateways](https://www.spacebring.com/docs/integrations/payments.md) do not currently support automatic invoice charges.
2. A customer has a recurring [subscription](https://www.spacebring.com/docs/billing/subscriptions.md).
3. The subscription has a [payment method](#choose-a-payment-method-for-a-subscription), or the customer has a [default payment method.](https://www.spacebring.com/docs/billing/payments/payment-gateway.md#set-a-default-payment-method)

> [!NOTE]
>
> The customer's payment method is automatically set as default after the first invoice payment, or can be manually added and set as default. With PayPal, a card used on the PayPal payment page isn't saved, so the card has to be [added](https://www.spacebring.com/docs/billing/payments/payment-gateway.md#add-a-payment-method) on the **Billing** page or in the customer's profile first.

## Manage Auto-pay

Auto-pay is enabled for each customer by default, without requiring any additional configurations. You can turn it off for a customer when needed, for example when they settle their subscription invoices outside Spacebring by bank transfer, so they pay each issued invoice manually.

To manage the **Auto-pay** property for a specific user or company:

1. Go to the **Customers** page > open a user or company profile > locate **Auto-pay** on the right-side panel.

![](https://mintcdn.com/spacebring/AS2I5jt12JBoJd_s/images/billing-subscriptions-invoice-auto-charge-1.png?fit=max\&auto=format\&n=AS2I5jt12JBoJd_s\&q=85\&s=dab94c6231b9d60cd0ea19616b25fcde)

### Choose a payment method for a subscription

By default, a subscription's invoices are charged to the customer's default payment method. To charge another saved payment method for one subscription:

1. Open the customer's profile.
2. Open their subscription.
3. In the right-hand panel, choose the payment method under **Payment method**.
   * **Customer default** charges the customer's [default payment method](https://www.spacebring.com/docs/billing/payments/payment-gateway.md#set-a-default-payment-method).

![Subscription page with the Payment method dropdown open in the right-hand panel, showing Customer default and two saved cards, on Spacebring's coworking space management platform](https://mintcdn.com/spacebring/C6fszAEIIItCgpzS/images/billing-subscriptions-invoice-auto-charge-choose-a-payment-method-for-a-subscription.png?fit=max\&auto=format\&n=C6fszAEIIItCgpzS\&q=85\&s=df33b3858a0a2aec36b46d28d62bb560)

The change applies to the subscription's next invoices.

Members can also choose the payment method on their subscription's page in the member app, and company managers can do it for their company's subscriptions. When a member buys a membership with a saved payment method that isn't their default, the subscription uses that payment method.

> [!TIP]
>
> To optimize your revenue, ensure prompt payment, and enhance customer satisfaction, we suggest implementing a policy that encourages the use of Auto-pay.

## FAQs

> [accordion] What should I do if the customer's invoice wasn't auto-charged?
>
> Automatic payment can fail for several reasons, such as:
>
> * No default payment method was set when the invoice was issued
> * The payment failed due to insufficient funds
> * The transaction was declined for another reason.
>
> Spacebring automatically retries the charge and reminds the customer twice more before you need to step in — see [payment retries and reminders](https://www.spacebring.com/docs/billing/invoices/payment-retries-and-reminders.md). If the invoice is still unpaid after that, you can manually retry the charge:
>
> 1. Go to the customer profile and ensure they have a [payment method added.](https://www.spacebring.com/docs/billing/payments/payment-gateway.md#add-a-payment-method)
> 2. Then, open the unpaid invoice and [create a payment](https://www.spacebring.com/docs/billing/invoices/payments.md#create-invoice-payments) using their saved payment method to retry the charge instantly.


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