The Manual payment gateway handles bank transfers and other offline payment methods. Unlike Transbank and Mercado Pago, there is no third-party redirect or webhook — the buyer receives bank account details and payment instructions, uploads a proof of transfer, and an admin reviews and approves or rejects the payment from the Filament panel. The flow starts with an explicit reservation to hold the plant during the approval window.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/scooller/Leben-site/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
No SDK or external API credentials are required for manual payments. The gateway is enabled and configured through SiteSettings in the Filament panel under the Pasarelas de Pago tab. Bank account details, payment instructions, and proof requirements are all managed from that settings page.Although manual payments have no external service dependency, the plant must be held with a reservation before initiating the checkout. See the payment flow below.
Payment Flow
Create a reservation
Call
POST /api/v1/reservations to create a plant reservation and receive a session_token. This token holds the plant and links it to the pending payment. The reservation expires automatically via the reservations:expire scheduler task.Initiate checkout
Call
POST /api/v1/checkout with gateway: "manual" and include the session_token from the reservation. The API creates a Payment record with status pending_approval and invokes ManualPaymentService::createTransaction().Receive payment instructions
The API responds with everything the buyer needs to complete the transfer:
Upload proof of payment
After completing the bank transfer, the buyer uploads the receipt via:Fields:
Accepted file types:
Maximum file size: 5 MB
| Field | Required | Description |
|---|---|---|
proof | ✅ Yes | Image or PDF of the transfer receipt |
notes | No | Optional free-text note from the buyer |
jpg, jpeg, png, pdf, heic, heifMaximum file size: 5 MB
Admin reviews in Filament
The payment appears in the Filament admin panel under Payments filtered by status
pending_approval. The admin opens the record to review the uploaded proof and any buyer notes.PHP Example
The following snippet shows howManualPaymentService is used inside the application:
Admin Workflow in Filament
The Filament admin panel is the primary interface for managing manual payments.- Navigate to Payments in the admin sidebar.
- Filter by Status → Pending Approval to see all payments awaiting review.
- Open a payment record to view the uploaded proof image or PDF, buyer notes, payment reference, and linked plant and project.
- Use the Approve action to mark the payment as
COMPLETEDand confirm the plant sale, or Reject to set it toFAILEDand release the reservation.
Email Notifications
iLeben uses Fin Mail to send transactional emails when a manual payment changes status. Configure both variables in.env: