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; return;
} }
const paymentStatus = response.paymentStatus?.toUpperCase() || ''; const paymentStatus = response.status?.toUpperCase() || '';
const paymentCode = response.code?.toUpperCase() || ''; const paymentCode = response.code?.toUpperCase() || '';
if (paymentStatus === 'FAILED' || paymentStatus === 'EXPIRED' || paymentStatus === 'CANCELLED' || paymentStatus === 'REJECTED') { if (paymentStatus === 'FAILED' || paymentStatus === 'EXPIRED' || paymentStatus === 'CANCELLED' || paymentStatus === 'REJECTED') {

View File

@@ -52,7 +52,7 @@ export interface QrDynamicStatusResponse {
createDate: string; createDate: string;
currency: string; currency: string;
order: string; order: string;
paymentStatus: string; status: string;
qrId: string; qrId: string;
transactionDate: string; transactionDate: string;
transactionId: number; transactionId: number;