Webkul Blog
Top Products Docs Dev Design Articles Life At Webkul Events Awards Case Studies
Webkul Blog
Start a Project

Magento 2 Multi Vendor Citrus Payment Gateway

Table of Content

FeaturesInstallationLanguage TranslationMulti-Lingual ConfigurationHow to Get Citrus Pay CredentialsModule ConfigurationSeller Front-End ViewCustomer Front-End ViewAdmin Back-End View

Share

Live Demo Buy Now

Citrus Payment Solutions is an Indian company that provides online payment services to businesses. Marketplace Citrus Payment Gateway module will allow the customers to select Citrus Payment Gateway as their payment method. The customers can use their credit/debit card or net banking credentials for processing the payment transaction.

With the help of this module, the admin can pay to sellers using the Citrus Payment Gateway. It also allows the admin to send the refund amount to customers using the Citrus Payment Gateway.

Please Note: This is a Marketplace add-on, you need to install Magento 2 Multi Vendor Module module first.

Features

  • Set the front-end title for the payment method.
  • Use sandbox mode for testing or development purpose.
  • Send customer details- name, email, address, phone number to the gateway.
  • Select when to allow the refund – before or after the payment release.
  • Select the applicable countries, whose users can use this payment gateway.
  • Specify the minimum and maximum order total value.
  • The admin can pay to sellers using the Citrus Payment.
  • Refund to customers using the Citrus Payment.
  • Splits payment amount to each seller and the admin automatically.
  • The customer money goes to the escrow account of the admin.
  • Supports multiple languages translations.
  • The source code is open for customization.

Installation

To install this extension, please follow each and every step carefully as follows:

Step 1:

After extracting the downloaded zip file and you will get the src folder. Inside src folder, you will find the app folder, copy the app folder to the Magento 2 root directory. Please view the below screenshot.

Citrus Installation

Step 2:

After the successful installation, you have to run these commands in the Magento 2 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

After running the commands, you need to flush the cache and reindex all from the Magento 2 admin panel. Navigate through System>Cache Management. Click Flush Magento Cache button as shown below:

Magento2 Cache Management

Language Translation

If you need to do the module translation, please navigate the following path in your system. app/code/Webkul/Mpcitruspayment/i18n. Open the file named en_US.CSV for editing as shown in below screenshot.

Magento2 Change CSV language file

Once you have opened the file for editing. Replace the words after the comma (,) on the right with your translated words.

Magento2 Change Language

After editing the CSV file, save it and then upload it to the same folder. Now your module translation is complete.

Magento2 Change CSV Language file

Multi-Lingual Configuration

For Multilingual support, please navigate. Store>Configuration>General>Locale Options. And select your desired language from the Locale option.

Magento2 Change Language

How to Get Citrus Pay Credentials

Before doing the module configuration, the admin needs to get the Citrus Pay credentials. The following page will open, click Merchant Login link.

Citrus Pay Credentials

Enter your Merchant Log In credentials – email and password. Click Sign In.

Merchant Log In

Now you can copy your Vanity URL, Access Key, and Secret Key from the following page.

Heading name goes here

Module Configuration

After the installation, the admin needs to go to backend panel for configuration. Please navigate to Stores>Configuration>Sales>Payment Methods>Marketplace Citrus Payment Gateway.

Configuration:

Enabled – Select Yes to use this module, else select No.

Title – Set the title for the payment method which will appear on the front-end.

Secret Key of Merchant account – Enter your Citrus account secret key.

Access Key of Merchant account – Enter your Citrus account access key.

Vanity Url of Merchant account – This URL will be available on the Citrus account of the admin.

Sandbox Enabled – Select Sandbox for testing or development use. Else select Production to make the module live.

Send Customer Name to Gateway – Select Yes to send customer name to the gateway. If No is selected, the customer needs to enter it.

Send Customer Email to Gateway – Select Yes to send customer email ID to the gateway. If No is selected, the customer needs to enter it.

Send Customer Address Info to Gateway – Select Yes to send customer address to the gateway. If No is selected, the customer needs to enter it.

Send Customer Phone to Gateway – Select Yes to send customer phone number to the gateway. If No is selected, the customer needs to enter it.

When to allow order refund – Select when to allow the refund to customer select Before Payment Release or After Payment Release. If Before Payment Release is selected, the admin can refund to customers before releasing the payments to the sellers.

If After Payment Release is selected, then the admin can refund to customers only after releasing the payments to the sellers.

When to execute cron for an order  – This option is available when Before Payment Release is selected. Enter the number of days till the refund can be initiated.

Allow Automatically Release – Select Yes to automatically release the payment to the sellers. Select No to release payment manually.

Payment from Applicable Countries – Select which countries can use this payment gateway.

Minimum Order Total – Set the minimum order total value for using this payment gateway.

Maximum Order Total – Set the maximum order total value for using this payment gateway.

Sort Order – Set the order sequence of this payment gateway.

Configuration

Seller Front-End View

Now, the sellers need to provide some details for the Citrus Payment Gateway module. They need to go to Manage Citrus Seller Details page. Enter their contact information such as address, phone, email, city, state, country, and zip code.

After that they need to enter their bank account information – IFSC code, account number, payment mode as NEFT, select Yes in Active option.

Citrus Seller Ditails

Customer Front-End View

At the time of checkout, the customers need to select the Marketplace Citrus Payment Gateway as the payment method. After selecting the shipping and billing addresses, please click Place Order button. The customers will now be redirected to the Citrus Pay website.

Checkout

After arriving at the Citrus Pay website, the customers need to enter their contact information as visible in the screenshot. Then, click Continue to Pay for entering the card details.

Checkout with Citrus

Then, select the Cards tab and enter the debit or credit card’s details. There is an option to save the card details also. Click Pay Now to complete the payment process.

Citrus Cards Tab

The customers can also use net banking for the payment. Click the Banks tab and select the bank. Click Pay Now for completing the payment process.

Citrus Bank Option

Admin Back-End View

Pay Seller

The admin can pay to sellers and release their payments by using the Citrus Payment Gateway. To do that, please navigate to Marketplace Management>Manage Sellers. Click Order link to view the order information and pay to the seller.

Manage Sellers

After clicking the Order link, the following page will appear showing all the orders of the seller. Click Release Seller Payment button to release the payment to the seller. The payment will go the seller bank account using the Citrus Payment Gateway.

Manage Seller's Order

Refund

The admin can also process the refund using the Citrus Payment Gateway. To do that please go to Sales>Invoices, the following page will appear. Click View link for any invoice of the seller.

Invoices

After clicking the View link, the following page will appear, click Credit Memo.

Credit Memo

Now the admin can create a credit memo for the invoice. Click Refund button to create a refund using the Citrus Payment Gateway.

Credit Memo

Support

Thank you for viewing the blog for the extension, if you have any further query please get back to us at our HelpDesk System. You may also browse other Magento 2 marketplace addons and our quality Magento 2 extensions.

Categories: Magento2
Tags: citrus Magento2 Marketplace Addon Payment Gateway
Rohit Kashyap 25-October-2023
View Comments Comment or Ask a Question
Quick Links
  • Website
  • Store
  • Culture
  • Support
  • License
  • Case Studies
  • Contact Us
Exit mobile version