• Resolved gera2220

    (@gera2220)


    I have some metadata in my code to add to the orders, but for some reason, sometimes if I generate it and sometimes not, does anyone have any idea what happens?
    Or some alternative to metadata that I can use?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    The request here is a bit vague and it’s difficult to suggest alternatives without knowing a bit more about the extra data you’re trying to add or the code that you’re using 🙂

    With this in mind, can you elaborate on the exact process flow you’re following and what the meta is supposed to do/convey?

    Thread Starter gera2220

    (@gera2220)

    yes, I try before generating the order with ‘$ order-> payment_complete ($ reference);’
    generate metadata such as $ item_values-> add_meta_data (‘_EstatusEcommerce’, 1, true); There are a total of 13 metadata that I try to generate, sometimes it generates it and other times it does not generate it

    Hi @gera2220,

    Could we get you to make a copy of your code at https://gist.github.com and then paste the URL to it here? That way everyone can take a look at it.

    Thanks

    It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please let open up a new topic and we’ll be happy to help out.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Does not save metadata’ is closed to new replies.