{"id":120171,"date":"2020-05-14T06:28:15","date_gmt":"2020-05-14T06:28:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/bh-wc-set-gateway-by-url\/"},"modified":"2022-10-26T01:55:45","modified_gmt":"2022-10-26T01:55:45","slug":"bh-wc-set-gateway-by-url","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/bh-wc-set-gateway-by-url\/","author":17204178,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"trunk","tested":"6.0.11","requires":"3.6.0","requires_php":"7.4","requires_plugins":"","header_name":"Set Gateway By URL","header_author":"BrianHenryIE","header_description":"Use <em>?payment_gateway=gateway_id<\/em> in URLs sent to customers to set the WooCommerce checkout payment gateway for them.","assets_banners_color":"","last_updated":"2022-10-26 01:55:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/github.com\/BrianHenryIE\/bh-wc-set-gateway-by-url\/","header_plugin_uri":"http:\/\/github.com\/BrianHenryIE\/bh-wc-set-gateway-by-url\/","header_author_uri":"https:\/\/BrianHenry.ie","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2571,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.5":{"tag":"1.0.5","author":"brianhenryie","date":"2020-05-19 20:08:17"},"1.1.4":{"tag":"1.1.4","author":"brianhenryie","date":"2022-10-25 04:05:18"},"1.2.0":{"tag":"1.2.0","author":"brianhenryie","date":"2022-10-26 01:09:04"},"1.2.1":{"tag":"1.2.1","author":"brianhenryie","date":"2022-10-26 01:55:45"},"v1.0.0":{"tag":"v1.0.0","author":"brianhenryie","date":"2020-05-14 06:27:51"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.5","1.1.4","1.2.0","1.2.1","v1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2803709,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2803709,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2803709,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2803709,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Demonstration link for using the plugin","2":"Demonstration link in context where it can be found","3":"The plugins.php entry","4":"Demonstration of the WooCommerce Customer Payment Page link being automatically updated"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6593,538,286],"plugin_category":[45],"plugin_contributors":[175751],"plugin_business_model":[],"class_list":["post-120171","plugin","type-plugin","status-publish","hentry","plugin_tags-payment-gateway","plugin_tags-url","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-brianhenryie","plugin_committers-brianhenryie"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bh-wc-set-gateway-by-url.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/bh-wc-set-gateway-by-url\/assets\/screenshot-1.png?rev=2803709","caption":"Demonstration link for using the plugin"},{"src":"https:\/\/ps.w.org\/bh-wc-set-gateway-by-url\/assets\/screenshot-2.png?rev=2803709","caption":"Demonstration link in context where it can be found"},{"src":"https:\/\/ps.w.org\/bh-wc-set-gateway-by-url\/assets\/screenshot-3.png?rev=2803709","caption":"The plugins.php entry"},{"src":"https:\/\/ps.w.org\/bh-wc-set-gateway-by-url\/assets\/screenshot-4.png?rev=2803709","caption":"Demonstration of the WooCommerce Customer Payment Page link being automatically updated"}],"raw_content":"<!--section=description-->\n<p>Add <code>?payment_gateway=preferred_gateway_id<\/code> to links in emails you send to your customers, and when they reach the\ncheckout, that will be the selected payment gateway.<\/p>\n\n<p>A WordPress filter exists so the text in the URL can be set to whatever you prefer.<\/p>\n\n<p><a href=\"https:\/\/github.com\/brianhenryie\/bh-wc-set-gateway-by-url\/\">Technical detail is on GitHub<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix: patches not applied to dependencies, fatal error<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Add: link to WooCommerce\/Settings\/Payments as \"Gateways\" link on plugins.php<\/li>\n<li>Add: wp_options setting for log level<\/li>\n<li>Dev: change autoloader<\/li>\n<li>Remove: build\/dev files unintentionally included in archive<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Update project structure<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Also set WC_Payment_Gateway::chosen on all active gateways<\/li>\n<li>Add payment gateway to admin order UI Customer payment page link<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>WordPress.org deployment had missed some files<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>A modest publication<\/li>\n<\/ul>","raw_excerpt":"Set the WooCommerce payment gateway in URLs sent to customers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/120171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=120171"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/brianhenryie"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=120171"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=120171"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=120171"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=120171"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=120171"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=120171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}