This commit is contained in:
2026-02-24 15:33:42 +03:30
parent c8e65d48be
commit 7886368601
2 changed files with 3 additions and 3 deletions
@@ -44,7 +44,7 @@ export class ZarinpalGateway implements IPaymentGateway {
async requestPayment({ amount, invoiceId }: IRequestPaymentParams): Promise<IRequestPaymentData> {
// Transform camelCase to snake_case for Zarinpal API v4
const callbackUrl = `${this.apiUrl}/verify/${invoiceId}`;
const callbackUrl = `${this.apiUrl}/public/payments/online/zarin/verify`;
const zarinpalRequest: IZarinpalRequestPayment = {
amount,
merchant_id: this.zarinpalMerchantId,