chagned status
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -52,7 +52,7 @@ export interface QrDynamicStatusResponse {
|
||||
createDate: string;
|
||||
currency: string;
|
||||
order: string;
|
||||
paymentStatus: string;
|
||||
status: string;
|
||||
qrId: string;
|
||||
transactionDate: string;
|
||||
transactionId: number;
|
||||
|
||||
Reference in New Issue
Block a user