Express Payment (Wallet) buttons not appearing - SureCart
/ Knowledge Base /Troubleshooting/Express Payment (Wallet) buttons not appearing

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 doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

E-Commerce Store Launch Checklist Download
Scroll to Top