Add Mellat e-payment, videos/instructions CMS, and legacy domain lookup.

Store gateway credentials per business, initiate/verify Mellat at checkout, and resolve old CMS ids from domains in the migrate modal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-13 09:51:17 +03:30
co-authored by Cursor
parent 513673a7da
commit d5e502cf77
44 changed files with 9303 additions and 996 deletions
+9
View File
@@ -2,6 +2,7 @@ import {
IsInt,
IsOptional,
IsString,
IsUrl,
MaxLength,
Min,
MinLength,
@@ -67,6 +68,14 @@ export class CheckoutCartDto {
@IsString()
customerNotes?: string;
/**
* Absolute URL the bank callback redirects the shopper to after payment.
* Required when payment.type is e_payment_gate.
*/
@IsOptional()
@IsUrl({ require_protocol: true, require_tld: false })
returnUrl?: string;
@ValidateNested()
@Type(() => CreateTransactionPaymentDto)
payment!: CreateTransactionPaymentDto;