Title: Set WooCommerce Payment Gateway by URL
Author: Brian Henry
Published: <strong>May 14, 2020</strong>
Last modified: October 26, 2022

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/bh-wc-set-gateway-by-url.svg)

# Set WooCommerce Payment Gateway by URL

 By [Brian Henry](https://profiles.wordpress.org/brianhenryie/)

[Download](https://downloads.wordpress.org/plugin/bh-wc-set-gateway-by-url.zip)

 * [Details](https://wordpress.org/plugins/bh-wc-set-gateway-by-url/#description)
 * [Reviews](https://wordpress.org/plugins/bh-wc-set-gateway-by-url/#reviews)
 * [Development](https://wordpress.org/plugins/bh-wc-set-gateway-by-url/#developers)

 [Support](https://wordpress.org/support/plugin/bh-wc-set-gateway-by-url/)

## Description

Add `?payment_gateway=preferred_gateway_id` to links in emails you send to your 
customers, and when they reach the
 checkout, that will be the selected payment 
gateway.

A WordPress filter exists so the text in the URL can be set to whatever you prefer.

[Technical detail is on GitHub](https://github.com/brianhenryie/bh-wc-set-gateway-by-url/).

## Screenshots

[⌊Demonstration link for using the plugin⌉⌊Demonstration link for using the plugin⌉[

Demonstration link for using the plugin

[⌊Demonstration link in context where it can be found⌉⌊Demonstration link in context
where it can be found⌉[

Demonstration link in context where it can be found

[⌊The plugins.php entry⌉⌊The plugins.php entry⌉[

The plugins.php entry

[⌊Demonstration of the WooCommerce Customer Payment Page link being automatically
updated⌉⌊Demonstration of the WooCommerce Customer Payment Page link being automatically
updated⌉[

Demonstration of the WooCommerce Customer Payment Page link being automatically 
updated

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Set WooCommerce Payment Gateway by URL” is open source software. The following 
people have contributed to this plugin.

Contributors

 *   [ Brian Henry ](https://profiles.wordpress.org/brianhenryie/)

[Translate “Set WooCommerce Payment Gateway by URL” into your language.](https://translate.wordpress.org/projects/wp-plugins/bh-wc-set-gateway-by-url)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/bh-wc-set-gateway-by-url/),
check out the [SVN repository](https://plugins.svn.wordpress.org/bh-wc-set-gateway-by-url/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/bh-wc-set-gateway-by-url/)
by [RSS](https://plugins.trac.wordpress.org/log/bh-wc-set-gateway-by-url/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.1

 * Fix: patches not applied to dependencies, fatal error

#### 1.2.0

 * Add: link to WooCommerce/Settings/Payments as “Gateways” link on plugins.php
 * Add: wp_options setting for log level
 * Dev: change autoloader
 * Remove: build/dev files unintentionally included in archive

#### 1.1.1

 * Update project structure

#### 1.1.0

 * Also set WC_Payment_Gateway::chosen on all active gateways
 * Add payment gateway to admin order UI Customer payment page link

#### 1.0.6

 * Bugfix: Moved to later hooks to fix WC_Order error in other plugins when WC_Payment_Gateways::
   instance() was run before the CPT was registered.

#### 1.0.5

 * WordPress.org deployment had missed some files

#### 1.0

 * A modest publication

## Meta

 *  Version **1.2.1**
 *  Last updated **4 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.6.0 or higher **
 *  Tested up to **6.0.12**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [payment gateway](https://wordpress.org/plugins/tags/payment-gateway/)[url](https://wordpress.org/plugins/tags/url/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/bh-wc-set-gateway-by-url/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/bh-wc-set-gateway-by-url/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bh-wc-set-gateway-by-url/reviews/)

## Contributors

 *   [ Brian Henry ](https://profiles.wordpress.org/brianhenryie/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/bh-wc-set-gateway-by-url/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://github.com/BrianHenryIE/bh-wc-set-gateway-by-url/)