Payments

BedShift integrates with Safepay to provide a complete payment solution. Accept card payments, record offline payments, and track everything in one place.

Safepay Setup

BedShift uses Safepay as its payment gateway for online transactions.

Connecting Safepay

  1. Go to Settings > Payments
  2. Click Connect Safepay
  3. Enter your Safepay API key and secret (from your Safepay dashboard)
  4. Select your preferred currency (PKR or USD)
  5. Click Save

Once connected, residents can pay invoices online using credit/debit cards.

Card Payments

When Safepay is configured:

  • Each invoice includes a Pay Now button
  • Residents can pay directly from the invoice email or their resident portal
  • Payments are processed securely through Safepay
  • Payment confirmation is recorded automatically in BedShift
  • You receive a notification when a payment is completed

Supported Cards

Safepay supports Visa, Mastercard, and local Pakistani bank cards (via 1-Link integration).

Cash Recording

For cash payments received in person:

  1. Navigate to the resident's invoice or the Payments section
  2. Click Record Payment
  3. Select Cash as the payment method
  4. Enter the amount received
  5. Add any notes (e.g., "Received by staff member Ahmad")
  6. Click Save

The payment is logged against the invoice, and the invoice status updates accordingly.

Bank Transfer

For payments received via bank transfer:

  1. Click Record Payment
  2. Select Bank Transfer as the payment method
  3. Enter the amount, bank name, and reference number
  4. Upload a receipt image (optional)
  5. Click Save

Payment Links

Send a payment link to a resident for a specific invoice:

  1. Open the invoice
  2. Click Send Payment Link
  3. The resident receives a link via email or WhatsApp
  4. They can pay using any supported payment method
  5. Payment is automatically reconciled with the invoice

Payment links expire after the invoice due date by default. You can configure the expiry in Settings > Payments.

Refunds

If you need to refund a payment:

  1. Go to the payment record
  2. Click Refund
  3. Enter the refund amount (full or partial)
  4. Add a reason for the refund
  5. Confirm

For card payments processed through Safepay, the refund is processed back to the original card. For cash or bank transfer payments, the refund is recorded for your records and must be processed manually.

Payment History

The Payments dashboard shows:

  • All transactions with filters by date, method, status, and resident
  • Total collected, pending, and overdue amounts
  • Payment method breakdown (card vs cash vs bank transfer)
  • Export options for accounting