chore: complete the payment service

This commit is contained in:
mahyargdz
2025-02-04 16:12:33 +03:30
parent 5d91afcc6e
commit 626206c389
25 changed files with 296 additions and 82 deletions
+5 -1
View File
@@ -1,5 +1,8 @@
//------------------ process payment -------------------------
// eslint-disable-next-line import/no-named-as-default
import Decimal from "decimal.js";
export interface IProcessPaymentParams {
amount: number;
description: string;
@@ -22,8 +25,9 @@ export interface IPaymentVerifyData {
}
export interface IPaymentVerifyParams {
amount: number;
amount: Decimal;
reference: string;
// status: GatewayPaymentStatus;
}
//--------------------- zarinpal --------------------------------