Viewing 14 replies - 1 through 14 (of 14 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Here are some additional docs for adding / editing those endpoints: https://github.com/woothemes/woocommerce/wiki/2.6-Tabbed-My-Account-page

    Thread Starter maccast

    (@maccast)

    @caleb: Thanks, but this is not an editing the tabs issue. These are the “default” ones and they are not working for me. I just disabled plug-ins and tested in the TwentySixteen theme and they are also not working there so I don’t believe it’s an issue with my code.

    One helpful thing from those docs ,right be looking at the woocommerce_account_orders_endpoint hook, but should’t that be working “out of the box” in 2.6? I assume I would only use this to override or enhance current functionality.

    Thread Starter maccast

    (@maccast)

    I looked into the woocommerce_account_orders_endpoint hook and it seems like the page is re-directing to a 404 before the woocommerce_account_orders method is even called.

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    What happens if you remove your custom code and refresh the permalinks? You may have altered something unknowingly and need to flush the rewrite rules.

    Thread Starter maccast

    (@maccast)

    No luck, but good thing to check. I can’t imagine I’m the only one encountering this issue, am I?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Only report I’ve seen. In WC> Settings > Accounts, are the correct pages assigned?

    Thread Starter maccast

    (@maccast)

    As far as I know. Here is what I have:

    Account page setting

    Endpoints Settings

    Thread Starter maccast

    (@maccast)

    What happens If the account doesn’t have any orders? I would assume it says “no orders” and doesn’t just deliver a 404 page, right?

    Thread Starter maccast

    (@maccast)

    @mike Jolley: Why would all the endpoints EXCEPT these two work? I’m open for ANY troubleshooting ideas. Is there a way for me to set some breakpoints or something?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Orders page just shows a notice that there are none.

    In 2.6.1, payments is hidden if not supported by gateways.

    http://glui.me/?i=zad7b9vpnufh3nw/2016-06-16_at_22.35.png/

    Thread Starter maccast

    (@maccast)

    Ok. Well I tried with a clean install of WordPress and Woocommerce and it all seems fine there, so something about this environment. What’s odd is I tried disabling all plugins except WooCommerce and switching to the TwentSizteen theme and still it wasn’t working.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    After turning things off, save permalinks. That will clear any bogus rules you have.

    Thread Starter maccast

    (@maccast)

    Thanks again Mike. I actually did do that and that wasn’t it. The good news is I just discovered the issue. Turned out to be Redis Object Cache. Once I cleared that things began working as normal. Sorry to have bothered you with this.

    Any reason why these two particular endpoints would be impacted by Redis while the other endpoints are not?

    The Redis drop-in I have been using is Eric Mann’s Redis Object Cache

    Thread Starter maccast

    (@maccast)

    Marking it as resolved.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘'orders' and 'payment-methods' My Account endpoints fail.’ is closed to new replies.