• Hi there, we’re using the full version of the premium EU VAT Assistant plugin. I have the following problem:

    I need to fill in the VAT number for a customer on a completed order, so that it also shows up on the invoice (using WooCommerce PDF Invoices & Packing Slips). However when I enter the VAT number in the custom field “vat_number” and click update, the custom field remains empty.

    This is the case for orders with status completed as well as pending payment.

    How can I add the VAT number properly?

    Thanks in advance!

    Jurian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter atojurian

    (@atojurian)

    I figured this out: I need to add the VAT number under the billing address instead of the custom fields. Now I can add it and it’s also visible on the invoice, so this part is solved.

    However, the fact that this field was not saved during the initial checkout of the customer is still a problem. The customer could enter their VAT number and pay for the order amount excluding VAT, however, the VAT number is not showing up in the back-end automatically and therefore also not on the invoice.

    Can you please help me solve this?

    Thank you!

    Jurian

    Plugin Author Diego

    (@daigo75)

    When the customer enters a VAT number at checkout, the EU VAT Assistant saves it against the user’s profile. The plugin then appends customer’s VAT number to the billing address of each customer (example: https://snipboard.io/gzeMHv.jpg), so that it also appears on the invoices. This works out of the box.

    We tested our plugin with WooCommerce up until 5.7 Beta, and we can confirm that the process used to store the VAT number and append it to the billing address still works as expected.

    If the VAT number is not stored against user’s profile, it probably means that some other plugin is interfering with the EU VAT Assistant’s logic. Maybe some plugin (e.g. one for custom checkout) is altering the VAT number field, or changing its ID when the order is processed, preventing the EU VAT Assistant from receiving and storing its value.

    In these cases, going by exclusion, disabling one plugin at a time (except WooCommerce and the Aelia ones) can help identifying the possible source of the conflict. Once found, the next step would be to find the exact element that interferes with the EU VAT Assistant’s logic, and address it. This might also require the implementation of some custom code.

    Thread Starter atojurian

    (@atojurian)

    Thank you Diego, I will do some more investigation by process of elimination as you described and get back to you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘vat_number is not saved’ is closed to new replies.