Skip to content

v1.8.1

@aemaddin aemaddin tagged this 21 Mar 06:42
When a KYC record exists but the associated user has been deleted
(orphaned record), processWebhook would pass null to
StatusService::updateStatus(), causing a TypeError.

- Add null guard for $kyc->kycable with email-based user re-association
- Enhance resolveKycFromWebhook to create KYC records when user found
  by email but has no existing KYC record
- Add resolveUserByEmail helper for email fallback from payload, stored
  data, or verification_data

Made-with: Cursor
Assets 2
Loading