diff --git a/examples/doc-scan/resources/views/success.blade.php b/examples/doc-scan/resources/views/success.blade.php index 914eb65d..63b0b486 100644 --- a/examples/doc-scan/resources/views/success.blade.php +++ b/examples/doc-scan/resources/views/success.blade.php @@ -294,59 +294,59 @@ @endif @if (isset($sessionResult)) - @if ($sessionResult->getIdentityProfile() != null) - @if ($sessionResult->getIdentityProfile()->getFailureReason() != null) - @if ($sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()) -
-
-

Identity Result Error

-
-
- @if ($sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Reason Code - {{$sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()}} -
Failure Type - {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getFailureType()}} -
Details - {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDetails()}} -
Audit Id - {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getAuditId()}} -
Country ISO Code - {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDocumentCountryIsoCode()}} -
Document Type - {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDocumentType()}} -
- @endif - @endif - @endif - @endif + @if ($sessionResult->getIdentityProfile() != null) + @if ($sessionResult->getIdentityProfile()->getFailureReason() != null) + @if ($sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()) +
+
+

Identity Result Error

+
+
+ @if ($sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Reason Code + {{$sessionResult->getIdentityProfile()->getFailureReason()->getReasonCode()}} +
Failure Type + {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getFailureType()}} +
Details + {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDetails()}} +
Audit Id + {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getAuditId()}} +
Country ISO Code + {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDocumentCountryIsoCode()}} +
Document Type + {{$sessionResult->getIdentityProfile()->getFailureReason()->getRequirementNotMetDetails()->getDocumentType()}} +
+ @endif + @endif + @endif + @endif @endif @if (count($sessionResult->getResources()->getIdDocuments()) > 0)
diff --git a/src/Profile/UserProfile.php b/src/Profile/UserProfile.php index e8f7a45b..e4189a56 100644 --- a/src/Profile/UserProfile.php +++ b/src/Profile/UserProfile.php @@ -28,7 +28,6 @@ class UserProfile extends BaseProfile public const ATTR_DOCUMENT_IMAGES = 'document_images'; public const ATTR_STRUCTURED_POSTAL_ADDRESS = 'structured_postal_address'; public const ATTR_IDENTITY_PROFILE_REPORT = 'identity_profile_report'; - public const ATTR_ADVANCED_IDENTITY_PROFILE_REPORT = 'advanced_identity_profile_report'; /** @var \Yoti\Profile\Attribute\AgeVerification[] */ private $ageVerifications;