chagned status

This commit is contained in:
sdarbinyan
2026-06-18 13:11:05 +04:00
parent 31da7f85cf
commit bdc330c885
2 changed files with 2 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ export class CartComponent implements OnDestroy {
return;
}
const paymentStatus = response.paymentStatus?.toUpperCase() || '';
const paymentStatus = response.status?.toUpperCase() || '';
const paymentCode = response.code?.toUpperCase() || '';
if (paymentStatus === 'FAILED' || paymentStatus === 'EXPIRED' || paymentStatus === 'CANCELLED' || paymentStatus === 'REJECTED') {