• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

virusword.com

Learn Wordpress

  • Home
  • WordPress Shop
    • Fotopress
    • SEO Tool Kit
    • Social Contact
    • Tag Machine 2
    • Video Profits
  • Latest News
  • WordPress
    • Plugins
    • Themes
    • Tutorials
    • Videos
    • Woocommerce
  • About Us
  • Contact Us
    • Terms of Service
    • Privacy Policy
  • Show Search
Hide Search
Home/Videos/Custom WooCommerce Payment Gateway Integration for Ecommerce Shop

Custom WooCommerce Payment Gateway Integration for Ecommerce Shop



Woocommerce allows us to extend its in-built payment system to write our own native payment gateways with different payment aggregators in our localities. This is especially needed in communities that have more payment methods other than Credit/Debit cards or PayPal. After this video, you should be able to add mobile payments or other forms of payments into your Woocommerce website.

This video 1 out of 7 explains the basics of the gateway system without getting into the coding.

2. Start a real life payment gateway coding in the second video in the series. https://www.youtube.com/watch?v=blLqSVpT7Sk
3. Adding Custom form fields to WooCommerce payment gateway Description – https://youtu.be/q3y0HJEdMfU
4. Add meta to Admin & Invoices from Custom form fields in WooCommerce payment gateway Description – https://youtu.be/6JY0HiycKyU
5. Sandbox Test Payments API for WooCommerce payment gateway – https://youtu.be/UZZzn7euTgM
6. Integrating Mobile Payments API into Payment Gateway from Sandbox – https://youtu.be/vxjl2VXYS1Y

Note: There is a typo at the end of the video with the function process_payments. It has an extra ‘s’ in the name, it should be ‘process_payment’. If you change the name of this function and it should work.

All the code can be found on:
https://github.com/Omukiguy/custom-woocommerce-payment-gateway/tree/master/lesson-1
=============================================
Do you like what I am doing? You can buy me a coffee through PayPal: https://paypal.me/laurencebahiirwa

Or purchasing through my Plugin Affiliate links:
– Elementor Pro —— https://omukiguy.com/elementor
– Woo Feed Pro ——- https://omukiguy.com/webappick/
– Woo Invoice Pro —- https://omukiguy.com/webappick/

I am social too:
Facebook: https://web.facebook.com/TechiePress-100149655032583/
Twitter: https://twitter.com/omukiguy
Blog: https://omukiguy.com
GitHub: https://github.com/Omukiguy
——————————————————————————-
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
——————————————————————————–

Learn how to build a plugin from scratch: https://youtu.be/9LtXEMRNln8?t=145

WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce – https://www.youtube.com/playlist?list=PLNqG1qGUllk2qFmbexV2SikF8bXqvDW-H

== Build Free Custom Theme for E-commerce Online Shop using WooCommerce –
https://www.youtube.com/playlist?list=PLNqG1qGUllk0uFqUvFFIJ67dSNBKapd7Y

====== Build Dynamic Websites with Elementor ======

== Learn the Elementor basics – https://www.youtube.com/playlist?list=PLNqG1qGUllk27BK71LBJDw4auOl-aVOqG

== Build a custom Elementor Widget from Scratch – https://www.youtube.com/playlist?list=PLNqG1qGUllk2pukgHP385ll0ENmRr9E_M

====== How to use WordPress Gutenberg Block Editor ======

WordPress 5.4 Gutenberg Blocks Updates
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0lI2Omhvp54Qn9-MIEhQzX

WordPress Gutenberg blocks for Designers
== https://www.youtube.com/playlist?list=PLNqG1qGUllk3DY91Bq_26L8meIXM_Uo4E

Gutenberg WordPress Block Editor tutorials for beginners
== https://www.youtube.com/playlist?list=PLNqG1qGUllk2xOKt79aI12GgX2DX0aNx-

Custom WooCommerce Gateway Development from Scratch
== https://www.youtube.com/playlist?list=PLNqG1qGUllk21IES6ZJ2WkX1BcbPQF4-7

WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0npc2ZGPU358Q6S1itFCYR

====== WordPress Plugin Development from Scratch ======

Build Most Popular & Most Commented Post Plugin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk05gUz_VB5nCHEN9A3OpS94

Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0NSTrNF2xa1zHNzMi3M7su

WordPress External APIs Integration Plugin Development
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0U2-5ZBNxSNxQrPO-4CqnR

Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application – https://www.youtube.com/playlist?list=PLNqG1qGUllk3qMrJcXUeP1Ge5U4fKtAR

Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk03llIgPYGVTwY14lAPDkBp

Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress – https://www.youtube.com/playlist?list=PLNqG1qGUllk06KZP9N1nRG-FpnTr_TD9u

Custom Dashboard Widgets
== https://www.youtube.com/playlist?list=PLNqG1qGUllk2h51557gV74x8p1RrlEmah

Build Custom Admin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk1M5L8Xo-K1g6B3OrkliKDs

Learn Git
== Git tutorial for writers + software developers for beginners – https://www.youtube.com/playlist?list=PLNqG1qGUllk2PnSJiUw1SCjiS6pNhIR2f

source

Written by:
Abdul Wahid
Published on:
April 28, 2021

Categories: VideosTags: Custom WooCommerce Plugin Development, Mobile Payments WooCommerce Payment Gateway setup, payment gateway api integration in php, payment gateway integration, woocommerce checkout form customization, woocommerce payment gateway integration, woocommerce payment gateway plugin for wordpress, woocommerce payment gateway setup, woocommerce payment settings, woocommerce plugin

Reader Interactions

Comments

  1. Tom Cousin

    April 28, 2021 at 3:27 pm

    How would you go about adding a shortcode for a Form to the Cash on Delivery Gateway? I can't seem to alter the Description to accept Shortcodes

  2. Sadekur Rahman

    April 28, 2021 at 3:27 pm

    Sending Love Bro, You are Great

  3. Amit Adhikary

    April 28, 2021 at 3:27 pm

    Please posts the github li
    nks

  4. Ahmed Diaplo

    April 28, 2021 at 3:27 pm

    good job. Well done, but I have one question, how can I withdraw my profits?

  5. wilson kibe

    April 28, 2021 at 3:27 pm

    are experience with xenforo

  6. Md Sabbir Ahmed

    April 28, 2021 at 3:27 pm

    You're doing really a great job. so nice of you.

  7. Diamond Chirisa

    April 28, 2021 at 3:27 pm

    Hi bro. Thanks a lot for the video. It was quite useful. I wanted to know how I can use return url from the payment gateway to the plugin to finalise the payment.

  8. Ines Amaro

    April 28, 2021 at 3:27 pm

    I have a question how do you view your Plugin files and edit them?

  9. TechiePress

    April 28, 2021 at 3:27 pm

    There is a typo at the end of the video with the function process_payments. It has an extra 's' in the name, it should be 'process_payment'. If you change the name of this function it should work.

    This video explains the basics of the gateway system without getting into the coding. Start a real life project coding by watching the second video in the series.https://www.youtube.com/watch?v=blLqSVpT7Sk

  10. mukesh jha

    April 28, 2021 at 3:27 pm

    can i add my Qr code image in my woocommerce payment plugins

  11. Yilmaz Kuru

    April 28, 2021 at 3:27 pm

    Hey there! Good Video – helped me out, BUT it seems that the instructions added in backend doesnt show up in e-mail and thank you-page. Any advise or help here?

  12. ilkin cavadov

    April 28, 2021 at 3:27 pm

    THANK YOU VERY MUCH! one question: is it useful for all countries?

  13. yonatan abraham

    April 28, 2021 at 3:27 pm

    10q for the video it is really helpful, I am trying to pass the total amount in int the checkout page and pass it to the payment gateway using Ajax. I'm having trouble figuring out how to get the value ( total payment amount of the order ) and pass it in a JSON format to the API. so how can I access the value in the Total field. it would really be helpful thanks.

  14. Trending

    April 28, 2021 at 3:27 pm

    Hi Thanks for the help.
    I have a small query.
    If I process the payment from external payment vendor (3rd party site). And the payment vendor sends the status with redirect post, what should be the redirect (callback URL) defined in the payment vendor configuration for my payment process or to which url that the vendor should redirect with post parameters?

    How to handle that response and display the final response to customer?

  15. Mehmet Rüştü MERCAN

    April 28, 2021 at 3:27 pm

    I am realy happy that i found your videos about WordPress. Thank you so much for such an amazing video that you made it very simple to add a new payment gateway to Woocommerce. I realy appreciate this.

  16. Gjorgi Gjorgiev

    April 28, 2021 at 3:27 pm

    Thanks a lot! 🙂

  17. Sunnyside Up

    April 28, 2021 at 3:27 pm

    Thank you for this great video. There does not seem to be anything out there other than using the available plugins and stripe costs are an arm and a leg.
    Now I have a question, I am using a payment gateway called SecuPay (Germany), I can't figure how I will be able to integrate their gateway to a plugin. Thanks again!

  18. Aamir Mushtaq

    April 28, 2021 at 3:27 pm

    I want to redirect to my own url(my payment gateway), with passing the data in the order variable, how can I do that? please provide some help.

  19. Faisal Abdi Official

    April 28, 2021 at 3:27 pm

    Can you make me one

  20. Faisal Abdi Official

    April 28, 2021 at 3:27 pm

    Bro thanks for this I really appreciate what you doing love from Somalia

  21. Tshitrim Dorji

    April 28, 2021 at 3:27 pm

    Great ! thank you /

  22. Store Buy

    April 28, 2021 at 3:27 pm

    bro, do you have telegram or icq?

  23. Onkar Khandekar

    April 28, 2021 at 3:27 pm

    Great video, You can download code from here https://github.com/YTTechiePress/custom-woocommerce-payment-gateway

  24. new ideas

    April 28, 2021 at 3:27 pm

    That is realy amazing!!!
    but the question is to create your own payment getway that integrate bank ussd code to your ecommerce web.
    Please upload the video if you can

  25. Online FastMedia

    April 28, 2021 at 3:27 pm

    Can this be used to integrate MPESA

  26. Mourad Al Damarawy

    April 28, 2021 at 3:27 pm

    I need you in a free lancing integration for my API

  27. mohd shamsul jamel ahmad

    April 28, 2021 at 3:27 pm

    Can this be implement with woocommerce block in Gutenberg

  28. AshanFx

    April 28, 2021 at 3:27 pm

    TechiePress thank you for this effort. Keep it up

  29. Programmer Rakib

    April 28, 2021 at 3:27 pm

    A very helpful video for everyone. How can i integrate the Korean payment gateway in WordPress ? Like : Naver pay, LG, TossPay, Kakao Pay etc

  30. Patrick Kateregga

    April 28, 2021 at 3:27 pm

    You're doing a great job here … that's surely uncommon here in UG. Great resources and time put into this. Thanks

  31. Yousef Baiji

    April 28, 2021 at 3:27 pm

    hello guys i am new to this how is he connecting visual studio code to the WordPress ?

  32. Fixar

    April 28, 2021 at 3:27 pm

    Hi, thanks for the precise video. Allow me go off topic a bit… I need to integrate Flutterwave api into woocommerce, any leads?

  33. Patrick Miller

    April 28, 2021 at 3:27 pm

    What code application is that?

  34. Siaka Fokwa

    April 28, 2021 at 3:27 pm

    Very helpful turorial. Thank you so much

  35. Stacker Coding

    April 28, 2021 at 3:27 pm

    Guys the problem in the end of this video is just because of a simple typo, the function process_payments has an extra 's' in the name, the real one should be like 'process_payment'. Just change the name of this function and it should work 🙂

    btw, this video is amazing, I just needed to add an extra payment method that doesnt even need to make api integrations so this simple code base is exactly what I was looking for and worked pretty good.

  36. John Skalin

    April 28, 2021 at 3:27 pm

    Super helpful tutorial! Thank you

  37. Expert Solution

    April 28, 2021 at 3:27 pm

    how can I add credit card payment ?

  38. Naeem Solo

    April 28, 2021 at 3:27 pm

    Hi… I need assistance with payfast plug-in.. To enable it yo perform ad hoc recurring payment and to support upsells… Currectly when customer purchase on my site tha hey get directed to payfast page for payment n then redirected to my thank you page.. But it does not redirect to OTO pages that ive set up.. Can u assist

Primary Sidebar

Wordpress

  • Content Management Systems (2)
  • Digital Marketing (4)
  • Internet Marketing (6)
  • Latest News (458)
  • Online Business (2)
  • Plugins (519)
  • Themes (521)
  • Videos (1,350)
  • Website Development (1)
  • Woocommerce (589)
  • WordPress (6)

Recent Articles

Unlock Your Internet Marketing Success with WordPress: The Ultimate CMS for Achieving Online Goals

WordPress: A Powerhouse for Achieving Internet …

Continue Reading about Unlock Your Internet Marketing Success with WordPress: The Ultimate CMS for Achieving Online Goals

Unlock Your Internet Marketing Potential with WordPress: A Comprehensive Guide

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential with WordPress: A Comprehensive Guide

Search our site

Explore more

Get our Wordpress Guide Get Plugins Get Connected

Footer

VirusWord by Promaps, Inc.

Barnes Place
Colombo 7, Western 00700

Copyright © 2025 · Promaps, Inc.

Keep In Touch

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Twitter