time·up

Card payments: Stripe

Connect the centre's Stripe account so customers pay by card from the app and recurring fees are charged to a saved card.

Updated on

Each centre charges through its own Stripe account: the money goes straight there. The customer's card never touches the app, Stripe collects it.

Connecting the account

  1. More and settings › Centre settings › Payments tab › Stripe.
  2. From your Stripe dashboard (Developers › API keys) copy the publishable key (pk_…) and the secret key (sk_…). Both must be the same mode: test to try things out or live to take real money.
  3. In Stripe, create a webhook with the address shown on screen (one per centre) and paste its signing secret (whsec_…) here. The payment is then confirmed even if the customer closes the app halfway.
  4. Switch Stripe on and press Save. The app checks the secret key against Stripe before saving it and stores it encrypted: afterwards only its last characters are shown.

What customers can do

  • Pay an order or a fee by card from their app, with bank authentication when requested.
  • Save their card so that card-paid fees are charged automatically every period; they can see and remove their cards from their profile.

What staff can do

Anyone who manages customers can charge a pending order to one of the customer's saved cards and refund, fully or partially, a payment taken with Stripe. A refund never exceeds what was charged, is recorded as a cash-register outflow and can issue the corrective invoice.

When a charge fails

When a fee cannot be charged (expired card, insufficient funds, declined), the order is marked rejected with the reason, the customer is notified to change the card, and administrators and customer managers see it too. If the card needs authentication, the customer completes it from the app and the order becomes paid.

Fees that are generated automatically

The order for each period of a fee is created automatically (and, if the customer has a saved card, charged) only in centres that have fee generation turned on, from the day chosen by whoever manages the centre's payments: today or a future date, never a past one. Periods before that date are not billed: the fee moves straight on to its next period. Before turning it on you can see which orders would be created, with their exact amount and whether they would be charged to a card. Every activation or deactivation is recorded with who did it and when.

Refunding a Sipay card charge

In centres that charge through Sipay, staff who manage customers can refund, fully or partly, what was charged by card through Sipay from the order (including charges made with the previous version of GymUp). The money goes back to the same card.

  • Enter the amount or leave it empty to refund everything left. Never more than was charged, counting earlier refunds.
  • The order becomes refunded only when everything has been refunded; after a partial refund it stays paid and records how much was returned.
  • If the order has an invoice, the corrective invoice for the refunded amount is issued unless you untick it. If it can't be issued, the refund still goes through and you're told to issue it by hand.
  • The refund is recorded as a card payment out of the centre's cash register.
  • If Sipay declines it, you see its reason and the order doesn't change. If Sipay doesn't answer, it's unknown whether it went through: check the Sipay dashboard before trying again; the app won't let you retry for 15 minutes.

Every attempt, declined ones too, is kept in the order's refund history and in the audit log, with who did it.