Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Also experiencing the same issue. On Elementor forms, it doesn’t seem to be respecting any of the settings under “Advanced Settings”, including “Widget Size”, “Show Widget Label Text”, etc. It only displays the widget with the defaults. This is with Elementor caching disabled.

    Thread Starter silvercode

    (@silvercode)

    We were able to track the issue down to the recent change to pymntpl-paypal-woocommerce/trunk/packages/funnelkit/src/Upsell/PaymentGateways/CreditCard.php

    Specifically this change, which set the ID/key for the “Credit Card” payment method to ppcp_applepay, and the “Apple Pay” payment method to ppcp_card. These are around the wrong way.

    FunnelKit decides whether a gateway is enabled by checking the integration’s $key against wfocu_global_settings['gateways']. With the IDs/keys swapped, ppcp_card orders were checking for ppcp_applepay in the settings and failing, which triggered “Gateway Supported but Not Enabled.”

    Upsells are now working again since modifying the above. I’m not sure why/how your test would have worked, though.

    Let us know if this can be patched in a future version.

    Thread Starter silvercode

    (@silvercode)

    Thank you for your speedy reply.

    The vault setting was unchecked. I enabled it and re-tested, but the issue still remains the same.

    Seeing the same issue across multiple sites.

    Edit: Turned out the issue was caused by the Rank Math plugin for us. They’ve just released a patch.

    Seeing the same issue across multiple sites.

    Edit: Turned out the issue was caused by the Rank Math plugin for us. They’ve just released a patch.

    Thread Starter silvercode

    (@silvercode)

    Thanks for that, clearing all settings and re-adding them appears to have fixed it. We’re not seeing duplicate profiles in the wp_linkedin_autopublish_default_share_profile option anymore.

    Having said that, if you do get a chance at some point in the future it would be good to have some checks for duplication at some points in the process so this doesn’t happen again. Either when the company/profile IDs are fetched and before they’re saved to the DB, or a check for duplication before posts are shared. All good for now though, maybe just something to add to the todo list.

    Thanks again, and thanks for offering the plugin for free. 🙂

    Thread Starter silvercode

    (@silvercode)

    For some background, we use the plugin to share posts both to an individual profile, as well as an organisation profile. So two shares in total. The issue we were experiencing is that it was sharing twice to the organisation – 3 shares in total.

    At first we thought this wasn’t occurring on manually posted posts, but this appears to be incorrect. It will occur whether it’s a ‘future’ scheduled post, or a manual post. Initially I was looking into the possibility of a duplication during publish, as the plugin utilises a number of related hooks, e.g. transition_post_status and save_post. However after adding some logging, what we found was that the primary function responsible for sharing the post to LinkedIn wp_linkedin_autopublish_post_to_linkedin_common() wasn’t actually firing more than once. It was firing once, and sharing the post to the personal profile once, and then twice to the organisation.

    After some more logging and debugging, we found that the “share profiles” that are stored in the plugin settings under wp_linkedin_autopublish_settings are incorrect. In our case, the default share profile is set to the following example:

    32101,n1f6wl6-Q5,urn:li:organization:32101

    Despite the plugin settings reflecting the correct two profiles in the UI, the actual option data is a comma separated list of 3 IDs. The first is the org ID, the second is the profile ID, and the third is the org ID again – this is why in the publishing loop in  wp_linkedin_autopublish_post_to_linkedin_common() it is posting to the same organisation twice.

    So after everything, the issue appears to be wp_linkedin_autopublish_get_companies() isn’t handling the data from LinkedIn properly. Either something is unique to our account and the plugin isn’t expecting it, or the LinkedIn REST API has changed enough to break the way that the plugin is parsing the response. Besides parsing the response from LinkedIn and extracting the IDs, ideally if it ever gets to this point, duplicates could be filtered out at other points in the code as well, e.g. publishing or saving, or sharing the post. Note that re-authorising results in the same issue, so I don’t believe it’s a once-off.

    Can you please have a look at the responses you’re getting from LinkedIn for the organisation IDs? It seems pretty unlikely that this is local to this specific LinkedIn account. For now we’ve just manually added a solution for our own case. Let me know if you need any further information. Thank you.

    • This reply was modified 2 years, 2 months ago by silvercode.
    Thread Starter silvercode

    (@silvercode)

    Thanks for getting back to me so quickly. I tested with a non-scheduled post and all is well – it shares across to LinkedIn as expected (once to the personal profile, once to the company page).

    So the issue is seemingly only happening on scheduled posts.

    Using Gutenberg editor – no change to the editor being used.

    Thread Starter silvercode

    (@silvercode)

    Don’t know why they replied saying it isn’t possible because it is. They wrote a function for it 8 years ago, which we found in their code and on their Github.

    Read it here: https://github.com/justintadlock/members/issues/48

    Or basically just add this to your functions.php file:

    // Disable the Members plugin from checking parent post permissions
    add_filter(‘members_check_parent_post_permission’, ‘__return_false’);

    We are experiencing the same issue. Definitely an issue since 3.6.0.

    Thread Starter silvercode

    (@silvercode)

    Hi Saravanan,

    Thanks for your reply.

    I understand the plugin supports 3DS 1.0 already, however my question is around 3D Secure Version 2, not 1. The plugin page states “Supports 3D Secure Version 1 and 2 (coming soon).”. It’s ambiguous if 2.0 is already supported or not.

    Thread Starter silvercode

    (@silvercode)

    This is definitely not resolved, but we are completely at a loss as to what we’re expected to do. We can’t sit there all day processing hundreds of fake orders waiting for the issue to happen and troubleshoot your plugin’s issue for you. Now somebody else has reported a similar issue (as per https://wordpress.org/support/topic/payment-successful-but-order-marked-as-failed-2/) so it would seem there is a problem that needs closer inspection on your part.

    Thread Starter silvercode

    (@silvercode)

    Hey Mike S,

    Thanks for your reply.

    Correct me if I’m wrong, but will that option then display logs to customers on checkout (on the page)? Or will it only display notices when logged in as an administrator? Just cautious about enabling debug mode if it displays transactions / API requests etc to users.

    Thank you!

    Thread Starter silvercode

    (@silvercode)

    Hi dougaitken,

    That’s correct, it’s a tiny amount of orders. Less than 1% of total orders.

    I’ve investigated for any patterns but I really can’t seem to find a common denominator. It’s happening across multiple different user agents, time periods, products, order details, etc.

    The mentioned eWAY log file doesn’t exist, so I presume it hasn’t seen any errors or warnings.

    If it’s not obvious and isn’t something you have seen before then we may need to work with the next customer that sees it. Obviously not ideal, but I appreciate that it’s quite random and difficult to replicate so far.

    If you have any other thoughts it would be much appreciated. Thank you.

    Update: Elementor 3.0.1 just dropped right this moment and it seems to clear up ALL conflicts. 🙂

Viewing 15 replies - 1 through 15 (of 21 total)