Restrict Payment Methods based on Cart Total
In this tutorial I will show you how to disable WooCommerce payment gateways based on cart total without use of any plugin.
Simple Crypto Gateway for WooCommerce
Start accepting cryptocurrency on your WooCommerce store. Truly decentralized. Peer to peer transactions without 3rd party services.
Creating MetaMask Payment Gateway for WooCommerce
Recently I really enjoyed creating a tutorial about signing in to WordPress with MetaMask, so I decided to continue with this topic and today I will show you how you can create a payment gateway for WooCommerce that allows to pay with MetaMask extension.
I also would like to remind that I already have a complete payment gateway tutorial and additionally a tutorial about paying with crypto. So you can check them out as well.
And this how it is going to work on our WooCommerce store:
Developing Decentralized Crypto Payment Gateway
Welcome to a detailed guide about setting up payments on the websites using cryptocurrency. First of all I will explain some basics to you and then we will create our own payment gateway for WooCommerce (it is a eCommerce platform for WordPress).
How to Validate Payment Gateway Settings Fields
It seems like my complete payment gateway tutorial is not that complete after all. I didn’t mention there how you can validate payment gateway admin options.
For example let’s assume that we have to validate a USDT address of a TRON network. Here is how it should work:
Let’s assume that we’ve already added a field for a USDT address inside
init_form_fields() method. Just like that:
Setup Stripe Payments on your Website with Payment Intents
Almost 7 years ago I created a tutorial about Stripe integration on a website. When I created it, it seemed quite difficult to me, but now it looks easy-breezy.
The thing is that it is obsolete right now. Well, it actually works for some cards, but mainly for those cards that are operating in North America. Today our goal is to implement it with brand new Stripe API which is called Payment Intents.
And I am going to guide your through it step by step.