• Resolved lewisha21

    (@lewisha21)


    On my WordPress website, I’ve been using ASP to connect to Stripe for quite a while and it has been working flawlessly.

    I have it setup to redirect to a custom URL each time so they can generate their product there. However, it has stopped redirecting there. Instead, it redirects back to the page with the same page_id as it just came from.

    Something even weirder happens — although the page it redirects to has the same page_id as the page it just came from, it ends up displaying a page with a different page_id to the one in the URL.

    All my other button links are working in WordPress so don’t think it’s WordPress. Although may be my theme??

    All plugins are fully up to date and I do not think there are any conflicts with the themes (although may be wrong!).

    How can this be solved? I assume it’s my end or configuration, and not a bug in the code as it hasn’t happened to others (as far as I know!). I also haven’t changed the theme at any point and it worked before with that theme!

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

    (@mbrsolution)

    Hi,

    I assume it’s my end or configuration, and not a bug in the code as it hasn’t happened to others (as far as I know!). I also haven’t changed the theme at any point and it worked before with that theme!

    For testing purposes, can you test one of WordPress default themes like Twenty Twenty. Also, do you know if anything has changed in your site or server prior to this issue occurring? Can you also confirm that the redirect URL address is correct?

    Regards.

    I get this too. In Twenty Twenty it looks OK. It looks as though the loaded iframe is using my theme’s default template and so header, footer and so on are pulled in twice and the page is a mess.

    However it is pulling the results into an iframe and not redirecting to the results page.

    So, is there a way to redirect to the checkout results page as things used to be?
    Is there something we can do to custom themes to ensure this doesn’t happen?

    Thanks

    If I paste the iframe URL /asp-payment-box/?product_id=3408 into my browser, I get the payment box. I make a test payment and I am redirected correctly to /stripe-checkout-result/

    Is there a plugin bug redirecting the iframe instead of the page or something like that?

    Just to add, I am using the accept_stripe_payment shortcode to summarise a custom basket:

    [accept_stripe_payment name=”Test Store” description=”Stuff from Us” price=”1234″ button_text=”Pay Online”]

    If I downgrade to version 2.0.37 of the plugin I have the problem.

    If I downgrade to 2.0.19 then I get a redirect to my checkout result page instead of it appearing in the iframe.

    Plugin Support mbrsolution

    (@mbrsolution)

    @andymacb, please start a new support thread.

    Thank you.

    Sure. That’s done and I’ve expanded my debugging info.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirects to wrong page and displays an even wronger page’ is closed to new replies.