Menu Close
    Searching for an experienced Magento 2 Development Company ?

    Magento 2 Secret Key Verification

    Magento 2 Secret Key Verification extension is for downloadable products. It allows the store owner to enable verification of the customers. The admin can easily enable or disable the extension.

    In addition, it allows the admin to set terms and conditions for downloading the products as per their web-store policies. The customers need to accept the terms and conditions to download the product.

    Consequently, It will generate a token to view all of its downloadable products. Also, the customer will receive the token on the registered email id. Moreover, the admin can also generate a token key for the customer from the admin panel.

    However, this extension works only for downloadable products.

    Get an overview of the workflow at the storefront for this plugin feature –


    Features Of Secret Key Verification

    • Verifies logged in customers for downloadable products.
    • The admin can create a token on behalf of customers.
    • Specifically, works only for logged-in customers.
    • Additionally, the admin can cite the terms and conditions for the downloadable products.
    • Also, the customer can resend the verification code to their email Ids.

    Installation Of Secret Key Verification

    Customers will get a zip folder. They will have to extract the contents of this zip folder on their system. The extracted folder has an src folder which contains the app folder.

    After that, You need to transfer this app folder into the Magento2 root directory on the server as shown:

    Installation Of Marketplace Split Order For Magento2

    Later, the successful installation, you have to run these commands in the Magento2 root directory:

    First command –

    php bin/magento setup:upgrade

    Second Command –

    php bin/magento setup:di:compile

    Third Command –

    php bin/magento setup:static-content:deploy

    Upon running the commands, you have to flush the cache from the Magento admin panel. To do this navigate through System > Cache management as shown below.

    flush cache

    Configuration For Multi-lingual Support

    For multilingual support, the admin will navigate through Store > Configuration > General > Locale Options.

     Finally, select the locale as German (the language into which the admin wants to translate his store content).

    Marketplace Split Order For Magento2

    Secret Key Verification Translation

    If a user wants to translate their module from English to German. Then they need to follow the path app/code/Webkul/DownloadVerification/i18n in their unzipped folder.

    User will get a CSV file with name “en_US.csv”.

    Now they will rename that CSV as “de_DE.csv”. After that translate all right side contents after the comma in the German language.

    Then edit the CSV, save it. After that, you need to upload it to the path app/code/Webkul/DownloadVerification/i18n.  The location where they have installed Magento2 on the server.

    This will translate the module into the German Language. It supports both RTL and LTR languages.

    Marketplace Split Order For Magento2 Translation
    Marketplace Split Order For Magento2 Translation

    User can edit the CSV like the image below.

    Marketplace Split Order For Magento2 Translation

    Configuration Of Secret Key Verification

    The admin will configure the module by navigating through Stores > Configuration > Download Verification.

    From here the admin will do some basic configuration in the general settings of the extension.

    webkul-magento2-secret-key-verification-config-1
    1. Enable Download Verification:- From here the admin can enable or disable the extension.
    2. Add Terms and Conditions:– Here the admin can set up the terms & conditions as per the store policies for downloading the content.

    Front-End Management

    The customer purchases a downloadable product from the website as shown below in the snapshot.

    webkul-magento2-secret-key-verification-checkout-2

    After placing the order from the website.

    Also, the customer can check out their downloadable products from the customer panel on the website.

    webkul-magento2-secret-key-verification-my-products-3

    Now under the “My Downloadable Products ” option, the customer needs to accept the store terms & conditions.

    He will click on the Generate Token button in order to view and download their products.

    webkul-magento2-secret-key-verification-t&c-4

    After clicking the button, the customer will receive a verification code on their registered email address. Insert the code into the asked field.

    webkul-magento2-secret-key-verification-code-5

    The email will have the following code as shown below

    webkul-magento2-secret-key-verification-email-6

    The customer needs to copy the received code & paste it into the asked field for the verification process.

    webkul-magento2-secret-key-verification-code-7

    If you have entered wrong code then you will receive an error message.

    webkul-magento2-secret-key-verification-error-8

    In case, you do not get the code due to a network connectivity issue.

    Then you can also click on Didn’t receive the code? Click here to resend the option to again send the code to your email.

    webkul-magento2-secret-key-verification-resend-9

    A pop message for the confirmation will appear addressing the code. You will find it again to the registered email address.

    webkul-magento2-secret-key-verification-resend-10

    Now as the customer enters the correct code. Then on the next screen customer will see their purchased downloadable products. The customer can now download them as per the conditions.

    webkul-magento2-secret-key-verification-my-products-11

    Token Management – Admin End

    The admin of the webstore can also generate the token for verification on behalf of the customer.

    If the customer isn’t able to receive the verification email because of some reason. In such a scenario, the customer will contact the admin.

    And the customer can request the admin for the generation code to access his downloadable products.

    The admin can create & view the tokens from the admin panel. Under the Token Management > Token Details menu available on the left side menu.

    webkul-magento2-secret-key-verification-token-details-11

    Under the token details, the admin can create a new token for a customer.

    The admin can view all the created tokens with their used status in a grid view style, as well.

    webkul-magento2-secret-key-verification-token-list-12

    Here the admin can see the status of the token generated. For an instance, expired if used and Not expired if not used. And can also check the time at which the customer has used the token.

    Create Token

    The admin in order to create a token for a customer. He will click on the create token button available on the generated token list page.

    webkul-magento2-secret-key-verification-create-token-13

    The admin from the dropdown option can view all the website customers. He can select the specific one for whom he will create the token.

    After that, he will click on generate the token for the creation of the auto unique verification code.

    webkul-magento2-secret-key-verification-token-14

    After selecting the customer & generating the code the admin will save the code.

    The admin will manually send the generated code to the customer.

    Once the customer receives the code. He will enter it into the verification field. After that, he will be able to view their downloadable products by selecting the Is admin Token? checkbox.

    Note:- If the customer didn’t select the Is admin Token? The checkbox before entering the code received from the admin end will not able to view their downloadable products.

    webkul-magento2-secret-key-verification-admin-code-15

    After verifying the code received from the admin side. The customer can easily view & download their downloadable products.

    webkul-magento2-secret-key-verification-code-verified-16

    Note:- The most recent verification code is generated for the customer only. In case the customer receives two codes after clicking on didn’t receive code. Then in such a case customer needs to use the only recent code.

    In conclusion, that is all for Secret Key Verification for Magento 2. For any further, assistance, just raise a ticket from here and in case of any doubt contact us at [email protected].

    Current Product Version - 4.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version 2.4.x
    • Version 2.3.x
    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top