Express Payment (Wallet) buttons not appearing - SureCart

No results found. Try again with different words?

Search must be at least 3 characters.

Express Payment (Wallet) buttons not appearing

Express payments in SureCart simplify the checkout process by offering quick and secure payment options, such as Apple Pay, Google Pay, and many more wallet options.

Express Payments focus on providing a quicker and more convenient checkout experience. Users can complete transactions with just a few taps, utilizing stored information in their browsers.

Enabling the Express Payment Block

The Express Payment block has been removed from the list of available SureCart blocks as it is now considered a deprecated feature.

However, if you wish to add it manually, you can do so using the code provided below:

function add_express_payment_block() {
    wp_enqueue_script('wp-blocks');

    $inline_script = "
        const { addFilter } = wp.hooks;

        const modifyBlockSettings = (settings, name) => {
          if (name === 'surecart/express-payment') {
            return {
              ...settings,
              supports: {
                ...settings.supports,
                inserter: true,
              },
            };
          }
          return settings;
        };
        
        addFilter(
          'blocks.registerBlockType',
          'surecart/modify-block-settings',
          modifyBlockSettings
        );
    ";
    
    wp_add_inline_script('wp-blocks', $inline_script);
}
add_action('enqueue_block_editor_assets', 'add_express_payment_block');

Please note: Given its deprecated status, this feature is no longer actively supported. Therefore, any usage is at your own discretion and expense.

Adding the Express Payment block

Follow the steps below to set up and activate express payments on your WordPress site using SureCart:

  • In your WordPress dashboard navigate to Custom Forms. Select the form where you want to enable express payments. Here we are adding express to our checkout form.
  • Choose a location to insert the Express Payment block in your form. Click the + icon to add a new block, then search for Express Payment and click on it.
  • Safari users will now see Apple Pay and Chrome users will see Google Pay buttons.

Why Express Payment (Wallet) Buttons Are Not Appearing?

If you’re not able to see these wallet buttons on your webpage, it might be because of the supported browser for the particular wallet button.

For example, if you enable express payments on your website and access it using Google Chrome, you will see the Google Pay wallet available for transactions.

These buttons only appear on their supported browsers and devices, allowing users to complete transactions seamlessly without manually entering payment details.

To avoid this issue please make sure that you are using a supported browser for the specific wallet button.

We hope this guide helped you. If you have any questions, please don’t hesitate to reach out to our support team. We’re here to help!

Was this article helpful?


Did not find a solution? We are here to help you succeed.

Start Selling With SureCart Today

Start for Free – No Credit Card Required

Start Selling With SureCart Today

Start for Free – No Credit Card Required

Trusted by Thousands of Businesses
Trusted by Thousands of Businesses
Start for Free. No Credit Card Required
World Class Support Team
Scroll to Top