Reading list Switch to dark mode

    Opencart Stripe Payment Method Version 2

    Updated 12 March 2024

    The Opencart Stripe Payment Method provides a stripe payment gateway at the time of checkout.

    Moreover, it will work in Live and as well as Test mode. Stripe payment method handles everything like currency mapping, card/address validation like CVC, etc.

    Opencart Stripe Payment Gateway is also available as Marketplace Stripe Payment Gateway

    Check a brief overview of the plugin –

    LnmtpzsE-b8

    Features of Opencart Stripe Payment Method

    • Admin can set min/max price for payment.
    • Admin can refund the payment from the Opencart store.
    • Custom order status as per the Order process of the customer.
    • Set the payment to acceptance for selective Geo Zones.
    • Admin can map the payment conditions with the payment status.
    • The admin can set the payment method title for the stripe payment gateway.
    • Provide a secure, trusted, and fast payment method to the customers as the stripe is fully PCI compliant.
    • The admin can select the payment action among Authorize and Authorize and Capture.
    • This module works for multiple stores, so the admin can manage the payment configuration specifically for the stores.
    • The admin can enable this module for the selected group of customers.

    Note: This payment method also works for multiple stores at once, the admin can manage the payment configurations differently for all stores.

    Searching for an experienced
    Opencart Company ?
    Find out More

    Installation

    The installation of the  Stripe Payment Method module is simple. After unzipping the main folder, you will find the folder. You need to choose the folder according to your open cart version.

    In the zip folder, you will find admin, catalog, ocmod and stripe-lib folders. You just need to move the admin, stripe-lib, and catalog folder to the root directory of your open cart website.

    stripe2

    Moreover, once you have uploaded the file then login to admin and from the catalog section go to Extensions> Extension installer and upload the XML file. The XML file can be found within the ocmod folder.

    selection_810

    Further, after uploading the file go to the Extensions > Modification and click on the refresh field.

    selection_811

    After that, in the Admin panel go to System > Users  > Usergroup and edit ‘Administrator’ and select all for both Access and Modify Permission and save it.

    selection_812

    After that under Extension >Payements, install the Opencart Stripe Payment Method.

    opencartdemo

    Module Translation

    As this Opencart Stripe Payment Method Verison2 module supports multiple languages so this section will describe how to make the module work in different languages. Please check this link for language translation

    Configuration of the Stripe Payment Method

     After clicking on the edit option, the admin can configure the Stripe payment method. Under the General Setting tab, the admin can-

    opencartdemo.webkul.com_crm-110-224-208-102-demo_admin_index.php_routeextension_payment_wk_stripeuser_tokenSEbrkc1fh3k55wzmBiQhp588UCeATVKe

    Meanwhile, under General Management, the admin can-

    Stores: The customer will select the desired store for which the configuration will be set.

    Payment Method Title: Enter the Payment Method Title that will show on the front-end to the customer while selecting the payment method.

    Payment Method Status: Here, the admin can Enable or Disable the payment method status accordingly.

    Sort Order: The admin can Sort the stripe payment method for the front-end. It will sort the order of the payment method.

    Payment Action: The admin can select the payment action among Authorise and Authorize and Capture.

    Total: Here, the admin can input the minimum and maximum amount for the transaction.

    Allowed Geo Zone: The admin can select the allowed Geo Zones for payment method.

    Allowed Customer Group: The admin can select the Customer Group who are allowed to pay using this module.

    Stripe Management Tab

    After that, under the Stripe Management Tab, the admin can-

    opencartdemo.webkul.com_crm-110-224-208-102-demo_admin_index.php_routeextension_payment_wk_stripeuser_tokenSEbrkc1fh3k55wzmBiQhp588UCeATVKe-1

    Payment Mode: The admin can select the Payment Mode (Test/live). Now, the admin will have to add the secret and Publish key for testing or live.

    Currency Alteration: The admin can select the currency that will be charged to the customer at the time of payment. Meanwhile, if it is disabled and the customer is using a disabled currency at the front end then the stripe payment method will no longer be available for the payment.

    Further, in the Checkout Management, the admin can-

    opencartdemo.webkul.com_crm-110-224-208-102-demo_admin_index.php_routeextension_payment_wk_stripeuser_tokenSEbrkc1fh3k55wzmBiQhp588UCeATVKe-2

    Select Yes, if the admin wants the customer to provide the address while making the payment on the stripe checkout page otherwise select NO.

    Now, under the Status Management, the admin can edit the status for different status conditions as shown in the image below.

    opencartdemo.webkul.com_crm-110-224-208-102-demo_admin_index.php_routeextension_payment_wk_stripeuser_tokenSEbrkc1fh3k55wzmBiQhp588UCeATVKe-3

    NOTE: For the live payments SSL is required, as per the Stripe terms and conditions, for more info Click here

    Webhook

    For setting webhook, login to your account, go to developers and add the below URL as an endpoint by enabling the following events.

    1) payment_intent.succeeded – which is triggered when a payment is successful
    2) balance.available – which is triggered when the account balance is updated

    Click here to see stripe logs

    opencartdemo.webkul.com_crm-110-224-208-102-demo_admin_index.php_routeextension_payment_wk_stripeuser_tokenSEbrkc1fh3k55wzmBiQhp588UCeATVKe-4

    Status: Set enable or disable for the webhook.

    Webhook URL: Admin can copy webhook URL.

    Webhook secret key: Open the endpoint added to the Stripe dashboard and look for the secret key.

    Wallets

    Log in to your Stripe account and activate both payment methods from here to enable Google Pay and Apple Pay on the Stripe checkout page.

    Checkout in your Stripe Dashboard is enabled for Google Pay or Apple Pay.

    opencart

    Google pay, Apple pay wallet option will show hereafter enable as per the below image:

    stripe_wallet

    Logs

    From here, the admin can view all the payment details via the filter as well as per the below image:

    Stripe-Logs

    Making Payment With Stripe Payment Method

    Further, if the customer’s details full fill the conditions which are set by the admin then this method will display to the customer at the checkout page.

    webkul-opencart-stripe-payment-gateway-stripe-checkout-4

    After selecting the Stripe Payment method, click on the continue button and that will redirect the customer to the stripe payment gateway to complete the payment process.

    payment on stripe

    Moreover, filling in the required details just click on the Pay button. After payment is completed, the customer will be redirected to the order confirmation page-

    webkul-opencart-stripe-payment-gateway-stripe-order-placed-successfully-6

    After that, by clicking on the history button, the customer will be redirected to the order history page. Here, the customer can click on the order to view the details about that order-

    order information stripe

    Stripe Account Management

    Moreover, the admin can see the details under the Stripe account by navigating to Payment and click on the order to see the details of the order as shown in the image below-

    webkul-opencart-stripe-payment-gateway-stripe-payment-details-on-stripe-7

    If Admin has enabled the option to create customers, then admin can see created customers by navigating to the Customers and click on the name of the customer to see the complete detail of the customer.

    webkul-opencart-stripe-payment-gateway-stripe-customer-8

    Further, the admin can make the refund of the purchase. To make the refund, the admin can navigate to Sales> Orders and click on the View order for which the admin wants to refund to the customer-

    Order-placed

    Now navigate to the history from where the admin can make the refund process.

    Moreover, on the history tab, in the bottom section, there is a refund button. The admin can click on that refund button to make a refund to the customer.

    refund-button

    After that, the order status will be automatically changed to ‘Refunded’. 

    status-refunded

    Admin can also see the order status under a Stripe account. To view the refunded order the admin can navigate to Payments and click on the Refunded section and view all the refunded orders.

    CAPTURED-PAYMENT-REFUNNDED_ Now by clicking on the particular refunded order, the admin can view the status and complete details for that refunded order-

    Dashboard_–_https_dashboard_stripe_com_account_–_Stripe_Test_

    Payment Action

    Opencart Stripe Payment Method allows the admin to set the payment action as Authorize and Capture and Authorize. Both payment actions have different functionality and features.

    Authorize and Capture

    With this method, the admin can keep the payment processed by the customer under the captured payment section at the stripe end. For this, the admin will select the Authorize and Capture payment action as shown in the image below:

    Stripe-Payment-6

    Moreover, when an order is placed from the customer’s end it will be visible to the admin from the backend just like any other order.

    In this payment action the admin can see multiple options under the Stripe payment tab as shown in the image below:

    capture-refund-button-1

    Cancel Fund

    By this, the admin cancels the particular order, and the order status will be changed to Canceled. Once the admin clicks on the cancel button, a popup will be visible.

    CANCELED-OPUP

    After pressing the OK button of the popup, a button will appear showing the status as Canceled as shown in the image below:

    Canceled

    On the stripe and also, the particular order will list under the All Payments tab with status Canceled.

    Canceled-stripe-end

    Capture Fund

    The admin can capture the amount by clicking on this button. After clicking, a popup will appear saying “Success: Payment has been captured successfully…!!!” as shown in the image below:

    stripe-popup

    Once the admin clicks the OK button present in the popup, the Buttons will get replaced with two buttons named Fund Captured and Refund as shown in the image below:

    webkul1

    With this the order, status will get changed to the succeeded under the All Tab at the stripe end.

    CAPTURED-PAYMENT-SUCCEEDED_

    Once the admin clicks on the Refund button, the admin gets directed to the order list page with the popup message “Success: Amount has been generated successfully.” and the order status will get changed to Refunded.

    Also, that particular order will come under the refunded tab at the stripe end.

    authorize-refund-generated-1

    The same will reflect the stripe end, the payment will shift to the Refunded Tab.

    CAPTURED-PAYMENT-REFUNNDED_-1

    Authorize

    When the admin selected payment action as Authorize, there is no need to capture the payment as it will succeed/ capture automatically.Stripe-Payment-7

    The admin can generate the refunds under the history tab as shown in the image below:

    authorize-esktop-button-1

    After clicking on this button, the admin will direct to the order list page, and the order status will change to Refunded.

    authorize-regunded-1

    The admin can also check the order status by viewing the order as shown in the image below:

    screencapture-opencartdemo-webkul-crm-203-122-41-218-admin-index-php-2020-06-08-13_58_32

    That is all for the Opencart Stripe Payment Method. If you still have any issues feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/.

    Current Product Version - 5.0.0.0

    Supported Framework Version - 2.x.x.x, 3.x.x.x, 4.x.x.x

    Blog Version - 2.x.x.x, 3.x.x.x, 4.x.x.x
    • Version 2.x.x.x, 3.x.x.x
    • Version 2.x.x.x, 3.x.x.x, 4.x.x.x
    . . .

    Leave a Comment

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


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content