fix: refund

This commit is contained in:
efrilm
2025-08-06 00:53:02 +07:00
parent 37ed6686f8
commit ae4f7b06ce
5 changed files with 34 additions and 35 deletions
@@ -788,7 +788,7 @@ class _RefundPageState extends State<RefundPage> with TickerProviderStateMixin {
// Trigger refund event
context.read<RefundBloc>().add(
RefundEvent.refundPayment(
paymentId: widget.selectedOrder.id ??
orderId: widget.selectedOrder.id ??
'', // Assuming order ID is payment ID
reason: reason,
refundAmount: refundAmount,