• Resolved cullachie

    (@cullachie)


    We are using Woocommerce and would like to have a “spinner” (or some message like “please wait”) whilst awaiting payment confirmation back from Stripe.
    Not having anything happen for 10 seconds or so is quite disconcertion for some customers.

    Please advise how this can be arranged.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cullachie

    (@cullachie)

    When we pit i this code , we get a static square image which is not at all like our animated gif,…

    add_action('wp_head', 'custom_woocommerce_checkout_spinner_blogies', 1000 );
    function custom_woocommerce_checkout_spinner_blogies() {
        ?>
        <style>
        .woocommerce .blockUI.blockOverlay:before,
        .woocommerce .loader:before {
            height: 7em;
            width: 7em;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -.5em;
            margin-top: -.5em;
            display: block;
            position: fixed;
            content: "Processing...";
            -webkit-animation: none;
            -moz-animation: none;
            animation: none;
            background-image:url('<?php echo get_stylesheet_directory_uri() . "/images/spinner.gif"; ?>') !important;
            background-position: center center;
            background-size: cover;
            line-height: 7;
            text-align: center;
            font-size: 2em;
            color:white;
            background-color: green;
            
        }
        </style>
        <?php
    }

    Hi @cullachie

    Thanks for reaching out!

    I understand that you’d like to add a “spinner” or a “please wait” message while awaiting payment confirmation from Stripe to improve the user experience on your WooCommerce store, correct?

    This is a bit of a complicated topic that would need some customization to address. Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.

    If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Spinner whilst awaiting payment confirmation’ is closed to new replies.