• Resolved unchesul

    (@unchesul)


    Hi there,

    I am experiencing a persistent issue with SureCart 3.17.5 where individual Form Redirect settings are being completely ignored. Despite configuring different “Redirection URLs” for different forms, all customers are being forced to the same global “Order Confirmation” page.

    The Setup:

    1. Product A (Audiobook): Using Form A, set to redirect to a specific “Listen/Stream” page (/multumesc-audiobook1/).
    2. Product B (ZIP Archive): Using Form B, set to redirect to a “Download” page (/thank-you-totul-e-permis/).

    The Problem: Regardless of which product is purchased, SureCart always redirects the user to the same URL (the one assigned to the ZIP Archive or the global Checkout Result page). It seems the “Custom Link” setting within the Form editor is being overridden by a global setting or a internal routing priority.

    What I have tried so far:

    • Deactivated all caching plugins (LiteSpeed Cache).
    • Tried using PHP template_redirect hooks to force redirection based on Product IDs, but encountered “Infinite recursion/Maximum call stack size” errors when calling \SureCart\Models\Order::retrieve().
    • Tried JavaScript-based redirects searching for text strings on the page, but the confirmation receipt seems to load in a way that is sometimes invisible to standard DOM scripts.
    • In interface I have no option to verify that no “Order Confirmation” page is forcefully set in SureCart -> Settings that would override individual forms.

    My Goal: I need Product A to go to its specific “Thank You” page and Product B to go to its own, as the post-purchase instructions are completely different (Streaming vs. Downloading). This is also crucial for my Google Site Kit tracking to differentiate between conversions.

    Is there a specific setting or a recommended filter/hook to ensure that the Form Redirection URL takes absolute priority over the global configuration?

    Thank you for your help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.