Support

Account

Forum Replies Created

  • Yes, that plugin is indeed activated. I see that it says “data encryption” in the plugin’s details, but I’m not sure how/why this is happening, or how to change the setting.

    I suppose that isnt your problem, however, I dont know what else to do. The plugin developer for that particular plugin has yet to respond to me.

  • woocommerce. I’ve also bought/downloaded ACF for woocommerce to integrate. But i cant seem to figure it out.

  • For that matter, there doesnt seem to be any of the field groups or field names in this section. I’ve made a sample field group to see if I could see that in the db, but it doesnt seem to be inputting the fields into the db

  • In my DB in the _postmeta there is no fieldname named recurring or _recurring. I see whats in the attached image.

  • When I refer to the meta key, I’m saying that it is being stored as field_<key> example being field_5919dea96926e. I can query by this key. I also know that this key, refers to my my ACF form field, because when i “field Keys” visible in my ACF screen options, it matches the key that I am trying to query. However, both the value and the field name are hashed.

    The field type that “recurring” is using is a “True/False” field type.

    The custom field is displaying normally in my order (view attachment) but is also appearing in my custom fields location.

    My field group is added on my checkout form, below the pricing details (view attachment 2)

  • Here is a screenshot of what the fields look like on my order

  • By the way, to clarify, I am not retriieving any posts when i perform a query via WP_Query and get_posts. There simply is nothing being returned.

    When i query using the field name as field_<key> with the hashed value that I’m seeing on my “View Order”, all the orders come in as expected.

    However, this is not a solution, because there are other field values that I am trying to retrieve, and they are also hashed, to values which are incomprehensible to me.

  • I’ve done this already, as explained above. I’ve even tried passing the query into a while loop using:
    <?php while( $posts->have_posts() ) : $posts->the_post(); ?>
    And still nothing.

    It doesnt seem to be retrieving any posts because of my above stated reasons

    • Fields are applying to my orders as “field_<some-key>”
    • Field value is hashed

    Why is this so different from the documentation. No where can i find any example of this in the docs or in a google search.

  • This is the return value

    (
        [query] => Array
            (
                [post_type] => shop_order
                [post_status] => any
                [posts_per_page] => -1
                [numberposts] => -1
                [meta_query] => Array
                    (
                        [0] => Array
                            (
                                [key] => recurring
                                [value] => 1
                            )
    
                    )
    
            )
    
    ...
    
        [post_count] => 0
        [current_post] => -1
        [in_the_loop] => 
        [comment_count] => 0
        [current_comment] => -1
        [found_posts] => 0
        [max_num_pages] => 0
        [max_num_comment_pages] => 0
        [is_single] => 
        [is_preview] => 
        [is_page] => 
        [is_archive] => 
        [is_date] => 
        [is_year] => 
        [is_month] => 
    ...
    
    
  • I’ve tried the same procedure using WP_QUERY and it still does not work. It returns an array with 0 post items even though i know there are at least 6 of them which it should be returning

Viewing 10 posts - 1 through 10 (of 10 total)