Skip to content

Commit

Permalink
Fix settings not showing up for active payment gateways
Browse files Browse the repository at this point in the history
  • Loading branch information
superdav42 committed Dec 29, 2024
1 parent b994a75 commit bfb57e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/managers/class-gateway-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function on_load() {
*/
add_action('init', function () {
do_action('wu_register_gateways');
});
}, 22);

/*
* Adds the Gateway selection fields
Expand Down Expand Up @@ -531,9 +531,9 @@ public function install_hooks($class_name) {

add_action('wu_checkout_scripts', array($gateway, 'register_scripts'));

add_action('init', array($gateway, 'hooks'));
$gateway->hooks();
add_action('wu_settings_payment_gateways', array($gateway, 'settings'));

add_action('init', array($gateway, 'settings'));

add_action("wu_{$gateway_id}_process_webhooks", array($gateway, 'process_webhooks'));

Expand Down

0 comments on commit bfb57e5

Please sign in to comment.