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
- Go to Settings > Payments
- Click Connect Safepay
- Enter your Safepay API key and secret (from your Safepay dashboard)
- Select your preferred currency (PKR or USD)
- 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:
- Navigate to the resident's invoice or the Payments section
- Click Record Payment
- Select Cash as the payment method
- Enter the amount received
- Add any notes (e.g., "Received by staff member Ahmad")
- Click Save
The payment is logged against the invoice, and the invoice status updates accordingly.
Bank Transfer
For payments received via bank transfer:
- Click Record Payment
- Select Bank Transfer as the payment method
- Enter the amount, bank name, and reference number
- Upload a receipt image (optional)
- Click Save
Payment Links
Send a payment link to a resident for a specific invoice:
- Open the invoice
- Click Send Payment Link
- The resident receives a link via email or WhatsApp
- They can pay using any supported payment method
- 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:
- Go to the payment record
- Click Refund
- Enter the refund amount (full or partial)
- Add a reason for the refund
- 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