Fix some for sign body to montify and not get 401 error|

This commit is contained in:
mahmood
2026-07-27 01:36:02 +03:30
parent 815da9896d
commit 933424ddfc
8 changed files with 381 additions and 36 deletions
@@ -0,0 +1,17 @@
<?php
namespace App\Services\Payment\Contracts;
/**
* درگاه‌هایی که می‌توانند وضعیت پرداخت را مستقیم استعلام کنند.
* برای وقتی که امضای برگشت مرورگر در دسترس/معتبر نیست و webhook هنوز نرسیده.
*/
interface SupportsStatusQuery
{
/**
* استعلام وضعیت از درگاه و در صورت پرداخت موفق، شارژ idempotent کیف.
*
* @return array{status: string, paid: bool}
*/
public function syncStatusByReference(string $referenceId): array;
}