feat: update purchase status to pending payment in payment intent and related test

This commit is contained in:
2026-07-16 12:13:48 -03:00
parent b3d06431e5
commit 84c9fa4c9d
2 changed files with 3 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ class PurchaseController extends Controller
$purchaseUpdate = [
'payment_method' => $method,
'status' => Purchase::STATUS_PENDING_PAYMENT,
'total' => $totalAmount,
];