Skip to content

Commit 8105089

Browse files
committed
fix invalid action name
1 parent da11f5c commit 8105089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/deprecated/class-wc-gateway-paystack-deprecated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct() {
5757
add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receipt_page' ) );
5858

5959
// Payment listener/API hook
60-
add_action( 'woocommerce_api_wc_gateway_paystack', array( $this, 'verify_paystack_transaction' ) );
60+
add_action( 'woocommerce_api_wc_gateway_paystack_deprecated', array( $this, 'verify_paystack_transaction' ) );
6161

6262
add_action( 'woocommerce_api_tbz_wc_paystack_webhook', array( $this, 'process_webhooks' ) );
6363

0 commit comments

Comments
 (0)