Skip to content

Payments

Source: pharmanet-admin/src/pages/Payments/Payments.jsx

Tabs

Tab Component Description
Transactions TransactionList All payment records with search/filters
Payment Logs PaymentLogs Payment event log
Chapa Configuration ChapaConfig Chapa API key management

Service

Source: pharmanet-admin/src/services/payments.js

Function Description
getTransactions({page, limit, search, status}) Payment list with order/customer info
getTransactionById(id) Single payment with order
getPaymentLogs({page, limit}) Payment log entries
updateChapaSettings(settings) Save Chapa keys to settings table

Chapa Configuration

Source: pharmanet-admin/src/components/payments/ChapaConfig.jsx

Setting Description
Public Key Client-side identifier
Secret Key Server-side authentication
Webhook URL Callback URL for payment status