• Resolved robin_dean

    (@robin_dean)


    This is happening all over my site.
    Exhibit “A” – https://tro.bike/motorcycle-touring/maps/usa/kentucky/hillbilly-triangle-ride/

    Your plugin’s code generates attributes reading … class=”asp-stripe-form” action=””

    The empty action attribute is invalid markup and I’m notified via email (W3C API) every time it strikes.

    My current “solution” is to alter the output buffer … $buffer = str_replace(‘class=”asp-stripe-form” action=””‘, ‘class=”asp-stripe-form”‘, $buffer);

    … but this really needs to be address as I’m not convinced my fix qualifies as a non-empty, required attribute in the form.

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

    (@mbrsolution)

    Thank you for reaching out to us. This is the first time I hear about this issue. No one has reported this issue before. Are you running a cache plugin in your site or server by any chance?

    Can you carry out the following troubleshooting steps.

    https://s-plugins.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    Let me know how you go.

    Kind regards.

    Thread Starter robin_dean

    (@robin_dean)

    It would appear you are correct! There’s something wrong with?my code.

    Thanks for getting back to me and inspiring me to find the problem!

    Regards.

    Plugin Support mbrsolution

    (@mbrsolution)

    You are most welcome ?? I will mark this thread as resolved. Enjoy the plugin.

    Kind regards.

    Thread Starter robin_dean

    (@robin_dean)

    Heads up!

    I’m keeping my review at 4 stars but … it would appear that the shortcode is producing an empty action=”” attribute after all. I’ve revised all of my cache code to suit and am replacing the output using a server side buffer.

    Just wanted to make sure you (at least) know about it.

    Basically, I have to do this:

    echo str_replace( array(” action = ””,’ action=””‘, ‘ class=”stripe-button-el”‘), ”,
    do_shortcode(
    ‘[accept_stripe_payment name=”

    … etc.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for sharing more information. Out of curiosity, what shortcode are you using?

    Kind regards.

    Thread Starter robin_dean

    (@robin_dean)

    The one from the plugin, as far as I know.

    Example: [accept_stripe_payment name=”Product Name” price=”Product Price” url=”Product Download URL” button_text=”Product Button Text”]

    It’s incredibly important that these shortcodes remain working/active. I *think* I remember some mention of them being discontinued … but because my products are dynamically generated, I have to use shortcodes for digital sales.

    • This reply was modified 2 months, 4 weeks ago by robin_dean.
    Plugin Support mbrsolution

    (@mbrsolution)

    I *think* I remember some mention of them being discontinued … but because my products are dynamically generated, I?have?to use shortcodes for digital sales.

    Please check the following documentation. Let me know if this is what you are referring too?

    https://s-plugins.com/creating-payment-button-dynamically-adding-details-shortcode/

    The above documentation does state the following.

    This feature is deprecated. It is not recommended to use this option. Please?create a product inside the plugin?and then use that product on your site.

    Kind regards.

    Thread Starter robin_dean

    (@robin_dean)

    Right, however it’s the only reason I use the plugin … dynamically created digital products. I may eventually get my store together, which will sell static merch and downloads but because my site serves GPX files on a per-article basis, what I need is what I’m using.

    Maybe there’s a way to dynamically create the products?

    Plugin Support mbrsolution

    (@mbrsolution)

    Maybe there’s a way to dynamically create the products?

    Unfortunately we currently don’t have an option to achieve that in our plugin.

    Kind regards.

    Thread Starter robin_dean

    (@robin_dean)

    You do, though. I’m using it. And it’s great!

    Plugin Support mbrsolution

    (@mbrsolution)

    You do, though. I’m using it. And it’s great!

    If you are referring to the deprecated feature, unfortunately we are not maintaining this feature anymore. However, I am happy to know that it is still working well for you.

    Kind regards.

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