• Resolved mr.clayton

    (@mrclayton)


    Hi Cartflows Team,

    A merchant recently reached out to me regarding a potential conflict with Cartflows and my plugin Braintree for WooCommerce. My plugin has functionality that when enabled, a customer can complete the checkout process all on the product page.

    After reviewing your code I can see that Cartflows hooks in to the woocommerce_get_checkout_order_received_url filter and that is how you control the redirect to the Cartflows thank you page.

    However, if the $_POST does not contain a checkout ID provided by Cartflows, then the url is not filtered which results in a notice on the order received page. I am hoping you have some insights on how to best manage this scenario where the checkout process is not occurring on the checkout page.

    Here is the thread where the merchant brought this to my attention:

    https://wordpress.org/support/topic/checkout-id-not-found-conflict-with-cartflows-2/#post-13540902

    Kind Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    Hello @mrclayton

    Thank you for getting in touch with us!

    It seems that the user is making the payment from the Product’s page and that case only the user is getting redirected to the default thank you page and on that page, a message saying “Checkout ID not Found” Is displayed.

    So, let me tell you that the CartFlows uses woocommerce_get_checkout_order_received_url filter to redirect to the CartFlows thank you page from the CartFlows Checkout page and that is where the _wcf_checkout_id comes into the picture in the $_POST.

    This is added because, the CartFlows does not makes any changes on the Product’s page or on the Cart page of the WooCommerce. All the process are been will be executed fro the CartFlows Checkout page and onward.

    If the user wants to redirect use the CartFlows thank you page even after making an payment from the Product’s page then it is not possible because, the CartFLows thank you page will be displayed after CartFlows Checkout page only.

    One the same note, do you have an screenshot of the error message, where I can see that message and find any other case of the issue. If not, please open a technical support ticket from our website.

    I hope this helps you.

    I am looking forward to hearing from you.

    Hi @cartflows

    Thank you for the response.

    I am the user that logged this issue and I can confirm the issue is indeed me being redirected to the default Woocommerce thank you page rather than my CartFlows thank you page. I do not have a screenshot of the page, but can confirm for you the redirect url where I ended up. https://www.fusico.be/checkout/thank-you-page/3358/?key=wc_order_P1bqGY6AfhLr1

    I made sure to fix the default woocommerce thank you page and am now no longer getting the error, but rather the (ugly) default woocommerce thank you. So in terms of user experience that’s still not good, but better than an error.

    Cheers
    Kristof

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @krikke

    Thank you for back to us!

    I am glad that the error message which were getting displayed is not appearing now.

    But regarding the thank you page redirection, as I said in the above thread, If you are making a purchase from the Product’s page or from the Cart page i:e without using the CartFlows Checkout page then you will be displayed a Default Thank you page of WooCommerce.

    And if you are using the CartFlows Checkout page to place an order then you will surely get redirected to the CartFlows thank you page of the same flow of which the checkout page is used.

    I hope this clarifies you.

    Please let me know your thoughts on this.

    Hi @cartflows

    That does explain the behaviour to me indeed, thank you for that!

    Unfortunately, I really do need to have a consistent layout. Would it be possible to add this as some form of future enhancement on the development roadmap?

    The feature request would then be to have the ability to redirect the default thank you page to the cartflows custom thank you page directly and always, regardless of the referrer page.

    Thank you for the insight
    Kristof

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @krikke

    Thank you for the suggestion and the putting the feature request.

    Surely it will be nice to add this feature in the CartFlows and we will add it in our road-map. But I am can’t say for sure that we will add it or not because, the CartFlows does not provides or not designed to provide the custom thank you page as well as it is not in the CartFlows development scope to provide any customization option before the Checkout pages.

    But if we get more requests for this then we will add it in our list and prioritize it.

    I hope this helps you.

    Please let me know in case you have any questions.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @krikke

    We haven’t heard from you in more than 3 weeks so we are marking this topic as resolved.

    If you have any further queries, please feel free to respond to the thread or open a ticket with us directly from our Support Portal.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.