Cut Return Processing Time by 90% with an Automated RMA System
An RMA system isn't optional—it's a necessity for any online store processing over 500 orders per month. Handling returns manually via email and messengers means losing up to 30% of requests, spending up to 2 hours per case, and damaging your reputation. We've developed dozens of such solutions for stores in electronics, apparel, and grocery. In 5–8 business days, you get a full workflow: from customer request to refund and returns analytics. Typical development cost ranges from $1,500 to $5,000 depending on complexity.
Why This Matters
According to consumer protection laws, the return period is typically 14 days. Without a system, it's easy to miss deadlines. And for defective items, reputational risks grow. Automation removes the headache and boosts loyalty.
Problems We Solve
Lost requests. In manual mode, requests get lost in messengers. Our system captures every submission and assigns a unique RMA number. Managers see a queue with filters by status, date, and amount.
Lack of transparency. Customers don't know where their return stands. The RMA system sends push notifications on status changes: from 'pending' to 'refunded'. This reduces support inquiries.
Slow refunds. Refunds take up to 5 days due to manual data entry. Integration with a payment gateway cuts that to 24 hours.
How We Do It
We use a modern stack: Laravel 11 on the backend, React or Vue for the admin panel, PostgreSQL for storage, and S3 for photos. Recently, we implemented an RMA for a home appliance store with 200 SKUs. We automated 80% of approvals using rules: if the amount is low and the reason is 'doesn't fit'—auto-approve. Processing time dropped from 2 days to 2 hours.
RMA System Data Schema
CREATE TABLE returns ( id BIGSERIAL PRIMARY KEY, rma_number VARCHAR(20) UNIQUE NOT NULL, -- RMA-2024-001234 order_id BIGINT REFERENCES orders(id), user_id BIGINT REFERENCES users(id), status VARCHAR(30) NOT NULL DEFAULT 'pending', -- pending → approved → items_received → resolved / rejected reason VARCHAR(50) NOT NULL, comment TEXT, resolution VARCHAR(20), -- 'refund', 'exchange', 'store_credit' refund_amount NUMERIC(12,2), created_at TIMESTAMP DEFAULT NOW(), resolved_at TIMESTAMP ); CREATE TABLE return_items ( id BIGSERIAL PRIMARY KEY, return_id BIGINT REFERENCES returns(id) ON DELETE CASCADE, order_item_id BIGINT REFERENCES order_items(id), quantity INT NOT NULL, condition VARCHAR(30), -- 'unopened', 'opened', 'damaged' photos JSONB DEFAULT '[]' ); Customer Return Form
Customers fill out a form in their personal account. Steps: select order → select items → reason → photos → compensation method → receive RMA number.
const ReturnForm = ({ order }: { order: OrderDetail }) => { const form = useForm<ReturnFormData>({ resolver: zodResolver(returnSchema), defaultValues: { items: [], reason: '', resolution: 'refund' }, }); return ( <form onSubmit={form.handleSubmit(submitReturn)}> <h2 className="font-semibold mb-4">Select items to return</h2> {order.items.map(item => ( <ReturnItemRow key={item.id} item={item} form={form} /> ))} <Select name="reason" label="Return reason" options={returnReasons} /> <Textarea name="comment" label="Comment (optional)" /> <PhotoUploader name="photos" maxFiles={5} /> <RadioGroup name="resolution" label="Compensation method"> <RadioItem value="refund">Refund</RadioItem> <RadioItem value="exchange">Exchange</RadioItem> <RadioItem value="store_credit">Store credit</RadioItem> </RadioGroup> <Button type="submit">Submit request</Button> </form> ); }; Photo Upload
Photos confirm product condition. Upload via S3-compatible storage, max 5 files at 5 MB each.
public function uploadPhoto(Request $request): JsonResponse { $request->validate([ 'photo' => 'required|image|mimes:jpeg,png,webp|max:5120', ]); $path = $request->file('photo')->store('returns/photos', 's3'); $url = Storage::disk('s3')->url($path); return response()->json(['url' => $url]); } Admin Panel Workflow
Managers see a request queue. Available actions per return:
- Approve — move to
approvedstatus, send instructions to customer - Reject —
rejectedstatus with a comment - Mark items received —
items_received, start inspection - Process refund — initiate refund via payment provider
class ReturnController extends Controller { public function approve(Return $return, Request $request): void { $return->transitionTo(Approved::class); $return->update(['approved_by' => $request->user()->id]); Notification::send($return->user, new ReturnApproved($return)); } public function processRefund(Return $return): void { $payment = $return->order->payment; $this->paymentGateway->refund($payment->gateway_id, $return->refund_amount); $return->transitionTo(Resolved::class); $return->update(['resolved_at' => now()]); Notification::send($return->user, new RefundProcessed($return)); } } Refund via Payment Provider
Refunds are processed through the API. For YooKassa:
$client = new \YooKassa\Client(); $client->setAuth($shopId, $secretKey); $refund = $client->createRefund([ 'payment_id' => $order->payment->yookassa_payment_id, 'amount' => ['value' => $return->refund_amount, 'currency' => 'RUB'], 'description' => "Refund for RMA #{$return->rma_number}", ]); Partial refunds are supported out of the box—amount is calculated proportionally to discounts.
How to Automate Return Processing?
Automation starts with configuring approval rules. For example, if order total is low, reason 'didn't fit', and less than 14 days since delivery—the system auto-approves the request. The manager only needs to monitor item receipt. This reduces support load by up to 40%.
Rules are configured in the admin panel without code changes. You can add extra conditions: for loyal customers, specific product categories, or sale periods.
Why Implement an RMA System?
An automated RMA processes requests 10x faster than manual handling. Customers get refunds in 24 hours instead of 5 days. Trust increases: according to studies, 67% of shoppers check the return policy before purchasing. A transparent system turns returns from a headache into a competitive advantage.
| Criteria | Manual Process | RMA System |
|---|---|---|
| Time per request | 2 hours | 15 minutes |
| Risk of lost requests | 30% | <1% |
| Customer satisfaction | 60% | 95% |
| Refund time | 3-5 days | 24-48 hours |
RMA System Development Workflow
- Analysis — We study your current return process, policies, and payment integrations.
- Design — We create a data schema, form mockups, and admin panel wireframes.
- Development — We write code, configure auto-approval and integrations.
- Testing — We test all scenarios: defects, exchanges, partial returns.
- Deployment and training — We deploy to production and train your team.
More details on each stage
- Analysis: Conduct interviews with managers, collect current forms and statistics.
- Design: Draw schema, approve mockups with the client.
- Development: Use Laravel 11 and React, deploy on Docker.
- Testing: Cover 90% of logic with unit tests.
- Deployment and training: Record video instructions, provide documentation access.
What's Included
| Stage | Result |
|---|---|
| Analysis | Business process description, list of integrations |
| Design | Data schema, interface mockups |
| Development | Working RMA system in your store |
| Testing | Test report, list of verified scenarios |
| Training | Video instructions for managers and documentation |
| Support | 3 months of warranty support |
RMA System Development Timeline and Cost
RMA system development takes 5 to 8 business days. The cost is calculated individually—depends on business logic complexity, number of integrations, and your stack readiness. Typical projects start at $1,500 and go up to $5,000. Get a consultation and project estimate—contact us. With over 7 years in e-commerce and 50+ RMA implementations, we deliver reliable solutions.







