idpass/checkersdk

Identitypass KYC verification Widget

v1.0.0 2023-01-19 08:49 UTC

This package is auto-updated.

Last update: 2025-05-19 14:02:49 UTC


README

INSTALLATION

$ composer require idpass/checkersdk

Append Identitypass service provider class to the providers section in config/app.php

Idpass\Checkersdk\Providers\CheckersdkProvider::class,

Publish vendor package

php artisan vendor:publish

Configure your credential from config/IdentitypassKYC.php published.

    // your merchant key
    "merchant_key" => "Your-Merchant-Public-Key",
//this can be true if you are testing SDK or false to use the live environment
"is_test" => false, 

//preferred button color
"button_color" => "",

//preferred button text
"button_text" => "Verify Identity", 

// DO NOT CHANGE FROM HERE
"js_link" => "https://js.myidentitypay.com/v1/inline/kyc.js"

Usage add @identitypass_script('name~name~ref~email') after the body tag of your page.

    <body> 
@identitypass_script('name~name~ref~email')

add Identitypass KYC button to page

    @identitypass_kyc