This commit is contained in:
2025-12-29 22:37:14 +03:30
parent 3cd116b1bd
commit 9f0ca2fe02
2 changed files with 2 additions and 0 deletions
@@ -47,6 +47,7 @@ export class ZarinpalGateway implements IPaymentGateway {
merchant_id: merchantId, merchant_id: merchantId,
description: `Payment for order #${orderId}`, description: `Payment for order #${orderId}`,
callback_url: callbackUrl, callback_url: callbackUrl,
currency: 'IRT',
metadata: { metadata: {
order_id: orderId, order_id: orderId,
}, },
@@ -39,6 +39,7 @@ export interface IZarinpalRequestPayment {
email?: string; email?: string;
}; };
referrer_id?: string; referrer_id?: string;
currency: 'IRT';
} }
export interface IZarinpalPaymentResponse { export interface IZarinpalPaymentResponse {
data: { data: {