Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter pascual80

    (@pascual80)

    Thanks for the reply. I tried that but am now getting another similar error. My checkout setup is basically the following: It is a gift shop so we have the billing section only be first and last name, telephone and email. And the shipping section includes all the details of the person receiving the gift – first and last name, telephone and address fields. It seems like no fields can be hidden for the plugin to work? Would appreciate any help on this. Thanks again, condless.

    I have the following fields unset in my theme functions.php file because we don’t use them.

        unset($fields['billing_address_1']);
        unset($fields['billing_address_2']);
        unset($fields['billing_state']);
        unset($fields['billing_city']);
        unset($fields['billing_postcode']);
        unset($fields['shipping_postcode']);

    Here is the new error I am getting:

    2023/10/26 14:59:58 [error] 217877#217877: *33735 FastCGI sent in stderr: “PHP message: PHP Warning: ?Undefined array key “billing_state” in /public_html/wp-content/plugins/cities-shipping-zones-for-woocommerce/cities-shipping-zones-for-woocommerce.php on line 899PHP message: PHP Warning: ?Undefined array key “” in /public_html/wp-content/plugins/cities-shipping-zones-for-woocommerce/cities-shipping-zones-for-woocommerce.php on line 899PHP message: PHP Warning: ?Undefined array key “billing_state” in /public_html/wp-content/plugins/cities-shipping-zones-for-woocommerce/cities-shipping-zones-for-woocommerce.php on line 900PHP message: PHP Warning: ?Undefined array key “billing_state” in /public_html/wp-content/plugins/cities-shipping-zones-for-woocommerce/cities-shipping-zones-for-woocommerce.php on line 912PHP message: This commerceOrder 5487 has been previously paid” while reading response header from upstream, client: 100.000.000.01, server: website.com, request: “POST /?wc-ajax=checkout HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.1-fpm-website.com.sock:”, host: “website.com”, referrer: “https://website.com/finalizar-compra”

    • This reply was modified 1 year, 1 month ago by pascual80.
    • This reply was modified 1 year, 1 month ago by pascual80.
Viewing 1 replies (of 1 total)