Menu Close
    Hire us Request quote Reading list Switch to dark mode

    Magento 2 Marketplace Stripe Payment

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

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

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

    Features- Magento 2 Marketplace Stripe Payment

    • 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 the admin to choose the Strip Integration type.
    • Allow sellers to register themselves using stripe connect.
    • Sellers can refund the invoiced amount.
    • Strong Customer Authentication (SCA) Compliance.

    Installation- Magento 2 Marketplace Stripe Payment

    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 the below commands in the Magento2 root directory:

    First command-composer require stripe/stripe-php

    Second Command -php bin/magento setup:upgrade

    Third Command – php bin/magento setup:di:compile

    Fourth 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.

    Thus, in this way the module installation completes.

    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).

    Thus, in this way the Multi-lingual support configured for the module

    Translation- Magento 2 Marketplace Stripe Payment

    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.

    Thus, the module translation completes.

    Configuration- Magento 2 Marketplace Stripe Payment

    After the successful installation of the extension, you can see the configuration panel under Stores > Configuration > Sales > Payment Method > Marketplace Stripe Payment as per below snapshot:

    As per the above screen, you can see many admin config parameters for the Stripe Payment module, we are going to explain every configuration parameters one by one.

    Enabled- The 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.

    Type Of Integration- Here the admin can decide the type of integration as Stripe Connect or Stripe Connect with Custom Accounts.

    If the admin selects this option as Stripe Connect, then the seller cannot enter or edit the details of the Stripe account as it been done by the admin only.

    Or if the admin select the option as Stripe Connect with Custom Accounts as per below image:

    then, the admin can decide whether to give the seller access to manage the custom account or not.

    API Key- Set API key provided by Stripe Payment Gateway.

    API Publishable Key- Set API Publishable key provided by Stripe Payment Gateway.

    Client ID- Set Client Id provided by Stripe Payment Gateway, this is required to connect seller with stripe account.

    Stripe Account ID- Here the admin can enter the Stripe Account ID.

    Set Name Display- It contains the name displayed on the form.

    Set Image- You can set the image that displays 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 the admin to set minimum order total for the Stripe module allows to check out with Marketplace Stripe Payment Gateway.

    Maximum Order Total- Allows admin to set maximum order total.

    Sort Order- Here the admin can set the sort order value for the stripe payment gateway.

    Generate Webhook – The admin can generate the webhook and see the collected data from the stripe dashboard.

    How to get the API Key, API Publishable key, Account ID, and the Client Key

    1st Step:

    To get the API Keys you can use Stripe website. First you’ll need to Sign in to the stripe account.

    Go to https://dashboard.stripe.com/login and enter your login details.

    2nd Step:

    Now from the stripe dashboard you can click on the toggle button of the viewing test data, if you’re using the module for the test purpose or you can also use the live credentials of your stripe account API’s if you want to setup the module for the live website.

    Now, enable the option “View test data” on the side panel if not enabled already.

    3rd Step:

    Click the API menu option on the side panel to see the Publishable key(API Publishable Key). Now, click the “Reveal test key token” to get your Secret Key(API Key).

    Clicking the “Reveal test key token” will bring up the – Secret Key(API Key).

    The admin can use API Publishable Key, and API Secret keys in the admin configuration to set up the module as per the below image:

    4th Step:

    To get the Client Secret key click the “Connect” menu option on the side panel and then click on the “Settings” option. Enter all the required information for the application.

    Webkul-magento2-MP-stripe-payment-gateway-strip-settings

    Set the Website URL as – www.example.com/mpstripe/seller/connect.

    Set the Redirect URL as –  www.example.com/mpstripe/seller/connect. 

    Here, you have two keys for the client_Id that are used according to the mode –

    • Development mode – This client_id is used when your site is in the testing mode.
    • Product mode – This client_id is used when your site is in the live mode.
    5th Step:

    To get the Account ID click on the “Profile” option on the right side and then navigate towards the Account section in the profile as per the below image:

    Henceforth, the API Key, API Publishable key, Account ID, and the Client Key is used to configure the module.

    Generate Webhooks In Stripe Payment Gateway

    In web development a webhook is a method of altering the behavior of a web page, or web application, with custom callbacks. Webhooks are basically user defined HTTP callbacks which are triggered by specific events.

    From the admin dashboard, the admin can click on the Generate Webhook and generate the data.

    after successful generating the webhook, the admin can see the successful message from the admin dashboard as shown in the image below –

    Whenever that trigger event occurs in the website, the webhook sees the event and collects the data.

    Now, the admin can see the collected data from the stripe dashboard as shown in the image below –

    The admin can also click on the generated URL for the detailed view of the events as shown in the image below –

    Thus, the Webhooks generates in this way.

    Seller Configuration

    Once the installation of the extension completes, sellers will find menu “Connect To Stripe” item tab in the seller panel as per the below snapshot:

    Note – We use seller Standard and Custom account to connect with admin’s account.

    For more details about Standard and Custom account please check – https://stripe.com/docs/connect/accounts

    Case I:

    If the admin has selected the Type Of Integration as Stripe Connect, then the seller will see the option as per the below image:

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

    Once the details are filled in the above screenshot and clicking “Authorize Access To This Account“, the seller connected with the admin application and then redirected to their account.

    Case II:

    If the admin has selected the Type Of Integration as Stripe Connect with Custom Accounts and disallowed the seller to manage their custom accounts, then when the seller will clicks on the Connect To Stripe option, then the see the as per the below image:

    Webkul-magento2-MP-stripe-payment-gateway-seller-end-7

    And if the admin has allowed the seller to manage their custom accounts, then when the seller will clicks on the Connect To Stripe option, then the see the as per the below image:

    Here the seller needs to fill some informations to create the stripe account.

    Create Stripe Account:

    Country- Here the seller will enter his country.

    Email- The email of the seller is to be entered here.

    Business Industry- The seller will select the business industry type from the drop-down.

    Business Type- Here the seller will choose the business type as Individual or Company.

    When the Business Type selects as Individual:

    When the Business Type selects as Company:

    Now, the seller will enter the bank account country, currency, holder type, holder name, rounting number, and the account number.

    Note:

    Here the seller needs to connect with the stripe to make transfer successfully. If the 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 redirect back to his payment page with the successful message.

    Now if they want to update their stripe account details then they can update it as per below snapshot:

    Workflow At Buyer End

    If the Magento 2 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.

    After Clicking On The Place Order Button.
    The Customer will redirect to the thank you page after making the successful payment.

    At Backend Marketplace Stripe Payment

    The admin can see the placed order details with Marketplace Stripe Payment Gateway by navigating to path admin panel Sales->Orders as per below image:

    The admin can select the order by clicking on the View button and they can see the order information as per below image:

    Order Invoice & Transaction Page:

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


    Now, the admin can click on the view button to see the order information as shown in the image below –

    Seller’s Invoice Page

    The admin can also see the transactions details for that particular order in which payment is done using Stripe Payment.

    The admin can click on the Transaction tab to see the transaction details as shown in the image below –

    All transactions of the sellers for their placed orders

    By clicking on the particular transaction, the admin can view the complete details of the transaction –

    Seller’s Transaction Page Details

    Refund – Marketplace Stripe Payment Gateway

    The admin can refund the amount online by opening the invoice slip and then clicking the Credit Memo button.

    After which they will see a Refund Offline and Refund(Online) button. Online refund will refund the invoice amount back to the customer account.

    Now, the admin can enter the amount accordingly and click on the refund button as show in the image below –

    Refund At Seller’s End

    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.

    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.

    The admin can also check the refund status and refunded amount on Stripe payment gateway from the stripe dashboard as shown in the image below –

    Thus, in this way the refund process completes.

    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.

    Thus, 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

    Current Product Version - 3.0.0

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

    . . .

    Comments (4)

    Add Your Comment

  • Matthias
    Is it possible to use alle Stripe Payment Methods or just Credit Card?
  • Michael Britton
    Can I use both Stripe and Paypal addons for payment with Magento2 marketplace module?
    • VipinSahu
      Yes you can use both stripe and paypal adaptive together , still have any query please email us at support@webkul.com . Thanks
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just received your message and our expert will get back to you shortly.
    Send Again
    Close

    Table of Content

    Hide Index