diff --git a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php index 3ffce96a..aa77d423 100644 --- a/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php +++ b/woocommerce-gateway-ebanx/services/class-wc-ebanx-one-click.php @@ -333,7 +333,7 @@ public function print_button() { 'instalments' => $messages['instalments'], 'instalments_terms' => $instalments_terms, 'nonce' => wp_create_nonce( self::CREATE_ORDER_ACTION ), - 'action' => $this->orderAction, + 'action' => self::CREATE_ORDER_ACTION, 'permalink' => get_permalink($product->id), 'country' => $country, 'currency' => $currency