Magento 2 Marketplace Stripe Payment

Now Stripe Payment Gateway is available for your Magento2 Marketplace by which you can accept payment from all over the world for your eCommerce store.

This payment gateway is an add-on of Magento2 Marketplace Module. To use this module you must have installed first Magento2 Marketplace.

NOTE:– This module does not work with Multiple Address Checkout.

Features

Enable/disable payment method from admin panel.

Provide split payment to sellers for your Marketplace store.

Accept all the cards that the stripe supports.

Allow sellers to register themselves using stripe connect.

Sellers can refund the invoiced amount.

Buyer can save stripe cards for future payments while paying.

PCI(Payment Card Industry) Compliance.

Installation

Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.

After 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

NOTE :

Note- For the proper workflow of this payment module, go to your Magento2 root folder and run below command from the terminal: composer require stripe/stripe-php

Run the Third Command – php bin/magento setup:static-content:deploy

After running the commands, you have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below.

Configuration For Multi-lingual Support

For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin want to translate his store content).

Translation

If a user wants to translate their module from English to the German language then they need to follow the path app/code/Webkul/MpStripe/i18n in their unzipped Magento2 Marketplace stripe payment folder and will get a CSV file with name “en_US.csv”. Now they will rename this CSV as “de_DE.csv” and translate all right side content after the comma into the German language.

After editing, save and then upload the CSV to the path app/code/Webkul/MpStripe/i18n where you have installed Magento2 on the server. The module will get translated into the German Language and will support both the LTR and RTL languages.

The user can edit the CSV like the image below.

Configuration

After the successful installation of the extension, you can see the configuration panel under Stores->Configuration->Sales->Payment Method->Marketplace Stripe Payment.

In the above screenshot, you can see a lot of admin config parameters for Marketplace stripe payment, the explanation for every config parameters is given under –

Enabled- Admin can enable/disable Magento Marketplace Stripe Payment Gateway module.Title- Here admin can set the title which will display on the front end.Debug- By this option, admin can enable or disable the debugging mode.API Key- Set API key provided by Stripe Payment Gateway.API Publishable Key- Set API Publishable key provided by Stripe Payment Gateway.Client Secret- Set Client Secret provided by Stripe Payment Gateway, this is required to connect seller with stripe account.Set Name Display- This will be the name displayed on the form.Set Image- You can set the image that will be displayed on the pop-up box while going for payment using the stripe payment.Payment from Applicable Countries- Here admin can select the specific countries for marketplace stripe payment.Minimum Order Total- This option allows admin to set minimum order total. If Grand total of order is less than specified Minimum Order Total value then Marketplace Stripe module will not allow to check out with Marketplace Stripe Payment Gateway.Maximum Order Total- Allows admin to set maximum order total.Sort Order- Here admin can set the sort order value.

After clicking on the Connect with Stripe button, below page will open where the seller has to fill information to connect to stripe account.

After filling the details in the above screenshot and clicking “Authorize Access To This Account”, you will be connected with the admin application and then redirected to your account.

Note:

Here seller needs to connect with the stripe to make transfer successfully. If a seller does not have stripe account or has not entered correct account details then all the payment will go to the admin only. The admin will pay the transaction fee and then transfer the seller’s share manually.

After successful connection with stripe, the seller will be redirected back to his payment page with the successful message. Now if he wanna update his stripe account details then he can update it like the below screenshot.

Workflow At Buyer End

If Magento2 Marketplace Stripe Payment Gateway Method is enabled from the admin panel then the buyer can see this stripe payment method under the “Payment Review” as shown in the given screenshot below.

Customers can add cards if they have not yet saved their card info for the stripe payment. So click on the Add New Card and the stripe payment pop-up will appear where you have to fill the information of your card. After that click on the pay amount to add the card as shown below.

After adding the card details you will be able to save the card for future use. Now you can click on the place order button to complete your purchase as shown below.

Customers will be able to check their saved card by navigating to their account menu item Stripe Saved Cards and if they require can delete the saved cards from here as shown below in the screenshot.

At Backend Marketplace Stripe Payment

See placed order details with Marketplace Stripe Payment Gateway by navigating to path admin panel-> Sales->Orders.

Select the order by clicking on the View button & you will see the order information as under-

Order Invoice & Transaction Page.

After a successful transaction has been done using Marketplace Stripe Payment, admin can see the invoices and transactions details for that particular order in which payment is done using Stripe Payment.
Seller’s Invoice Page –

All transactions of the sellers for their placed orders –

Seller’s Transaction Page Details –

Refund

Admin can refund the amount online by opening the invoice slip and then clicking the Credit Memo button after which you will see a Refund Offline and Refund(Online) button. Online refund will refund the invoice amount back to the customer

Refund At Seller’s End

After the buyer has placed an order if the buyer asks for a refund from the seller, the seller can easily make the refund by going to the respective order under their account panel. Here, the seller will click on the “Credit Memo” button.

This brings up the page to generate the “Credit Memo“. Now, the seller just has to select the items to refund and then click on the “Refund” button to make the refund. The details will simultaneously be updated in the seller’s Stripe account.

After creating the credit memo, the seller can see the details of the credit memo and can view the refund details as well.

Refund – Stripe Payment Gateway

The seller can also go directly to his stripe account and make a refund. The seller just needs to go to the payments section and then select the payment that needs to be refunded.
The refund pop will appear as shown below.

Now, the seller will click on the “Refund” button.

NOTE:- If the refund is generated from the stripe dashboard i.e from the Stripe Payment Gateway, then the seller has to generate the credit memo separately from his Seller Account.As the credit memo will not be generated automatically in this case.

That’s all for Magento2 Marketplace Stripe Payment. Still have any issue feel free to add a ticket and let us know your views to make the module better webkul.uvdesk.com