up
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user