Fix: Update order status to PAID on checkout success page
When user reaches the success page after payment, update the order status from PENDING to PAID. This ensures the admin panel shows the correct status immediately after payment confirmation.
This commit is contained in:
@@ -73,7 +73,8 @@
|
||||
"Bash(xargs grep -l \"design-spec\")",
|
||||
"Bash(git commit -m 'Improve: Design specification sheet now shows previews and info *)",
|
||||
"Bash(git commit -m 'Fix: Handle undefined designElements in design spec SVG rendering *)",
|
||||
"Bash(git commit -m 'Fix: Ensure cart is completely cleared after payment success *)"
|
||||
"Bash(git commit -m 'Fix: Ensure cart is completely cleared after payment success *)",
|
||||
"Bash(git commit -m 'Fix: Update order status to PAID on checkout success page *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user