Magento 2 Wallet

Table of Contents

  1. Extension Installation Guide
  2. Configuration
  3. View Wallet Details in Backend
  4. Manage Wallet Payees
  5. Manage Bank Accounts for Wallet Withdrawals
  6. Manage Wallet Rewards Rules
  7. Manage Wallet Payout Requests
  8. Manually Credit/Debit Customer Wallets
  9. Wallet Functionality on Frontend

 

 

  1. Extension Installation
  • For Magento Marketplace Customers
    • Find the Composer name and version of the extension in the extension’s composer.json file.
    • Login to your SSH and run:
      • composer require meetanshi/magento-2-wallet
    • Enter your authentication keys. Your public key is your username; your private key is your password.
    • Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
    • To verify that the extension installed properly, run the command:
      • php bin/magento module:status Meetanshi_Wallet
    • By default, the extension is probably disabled.
    • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_Wallet --clear-static-content
      • php bin/magento setup:upgrade
      • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
      • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
      • php bin/magento cache:flush
         
  • For Meetanshi Customers
    • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
    • Login to your SSH and run below commands step by step:
      • php bin/magento setup:upgrade
      • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
      • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
      • php bin/magento cache:flush
  1. Configuration
    To configure the extension, log in to Magento 2 and move to Customers à Wallet Configuration to configure the extension.
  • Wallet Functionality: Select “Enable” to activate the wallet functionality for customers.
  • Require Admin’s Approval for Bank Details? Select “Yes” to make admin’s approval necessary for adding new bank details.
  • Require Admin’s Approval for Adding a Payee? Select “Yes” to make admin’s approval necessary for adding new Payees.

Email Notification Settings
The Magento 2 wallet extension sends automatic email notifications to the admin and customers. Here, you can set the customer email, select the email sender, and choose email templates.

  • Admin Email: Enter the admin email address to receive the email notifications.
  • Email Sender: Set the email sender contact for admin and customer notifications.
  • Payout Templates: Select the email templates for ‘New Payout Request’ emails for admins and ‘Payout Request Approved’ emails for customers.
  • Payee Templates: Select the email templates for ‘New Payee Request’ emails for admins and ‘Payee Approved’ emails for customers.
  • Bank Account Templates: Select the email templates for ‘New Bank Account Request’ emails for admins and ‘Bank Details Approved’ emails for customers.

 

  1. View Wallet Details in Backend
    You can get an overview of all the customers’ wallets in the backend. In the admin panel, go to Customers à Wallets. A list of all the wallets of customers will be displayed on the screen, along with wallet balance and other details.

Click “Transaction History” against any customer name to get more details.

 

  1. Manage Wallet Payees

The “Wallet Payees” grid in the backend lists all the payees added by customers. You can also filter them by different statuses, such as Approved, Rejected, or Pending.

 

You can also approve/reject pending requests by selecting them.

 

 

  1. Manage Bank Accounts for Wallet Withdrawals

The “Bank Account” grid lists all the bank accounts added by customers for withdrawing wallet money. You can find new requests here and approve/reject them.

 

 

  1. Manage Wallet Rewards Rules

The extension supports creating wallet rewards to incentivize customer actions. You can create different rules to credit wallet with certain reward amounts on actions, such as new registration, newsletter subscription, and first order.

 

You can also create a new rule or modify an existing one by configuring the following settings:

  • Rule Name: Enter a name for the wallet rewards rule.
  • Status: Enable or disable the rule from here.
  • Entity: Select the applicable entity for the rule, i.e., registration, newsletter subscription, or first order.
  • Amount: Enter the wallet reward amount.
  • Associate to Website: Select the applicable websites for the reward rule.
  • Customer Group: Select the applicable customer groups for the wallet rewards.

 

 

  1. Manage Wallet Payout Requests

In the backend “Wallet Payout Requests” grid, you can get the list of all the payout requests (to transfer money into their bank account) submitted by the customers. You can view the status of each of the requests and accept/reject the pending ones.

Note: Accepting a request will not automatically transfer the money to the customer’s bank account. You’ll have to manually process the request and transfer the money. This grid allows you to keep track of the transactions.

 

Click on “View Details” to get more details, such as bank information for processing the request.

 

  1. Manually Credit/Debit Customer Wallets

You can also credit or debit customer wallets manually from the backend. To do this,go to Customers > Edit Customer > Wallet.

Here, you can see the customer’s wallet balance and also debit/credit any amount to their wallet.

 

  1. Wallet Functionality on Frontend

The customers can find a “My Wallet” section in their accounts. The customers can see their wallet balance, add money to their wallets, withdraw it, or transfer it to another customer’s account.

 

Add Balance to Wallet

The customer can add balance to their wallets by clicking the “Add Balance” button. The customer simply needs to enter the amount and click “Submit.”

The amount will be added to the customer’s cart and they can complete the transaction just like a normal order.

 

Once the order is placed and invoiced by the admin, the amount is added to the customer’s wallet.

 

Use Wallet as a Payment Method

The customers can use the money in the wallet to pay for the orders. The “Apply Wallet” option is added to the payment screen. In case the wallet does not have sufficient funds, the customer can also use another payment option to pay the remaining amount.

 

Withdraw Money into the Bank

The customer can make a request to withdraw the wallet amount into their bank accounts from My Wallet > Withdraw Money to Bank section.

The customer can find details of all the bank accounts in the grid.

 

The customer can add a new bank account by clicking the “Add a New Bank Account.” For that, they can submit the following details:

  • Account Number
  • Bank Name
  • Bank Code
  • Any Addition Information

 

If required, the admin needs to approve this bank account from the Bank Account grid in the backend. Once approved, the customer can use this new account to raise a withdrawal request by clicking the “Add Balance to Bank” button.

 

The money withdrawal request will be sent to the admin for processing. The admin can view this request in the Wallet Payouts Requests grid.

Transfer Money to Other Customer Account

The customer can also transfer the wallet money to another customer’s (Payee’s) wallet in the store. For that, the customer needs to add the Payee first by clicking the “Add Payee” button.

The customer can add a new Payee by entering the Payee name and their email address.

Note: The Payee email address must be associated with the tore as a customer.

 

If required, the admin needs to approve the Payee from the backend Wallet Payees grid. Once approved, the customers can submit a request to transfer the wallet money to another customer’s wallet.

Once the admin approves the wallet transfer request from the Wallet Payout Requests grid, the amount is transferred to the other account.