chagned status
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user