1. Documentation /
  2. Google Wallet

Google Wallet

This product has been discontinued and is no longer supported.
Google Wallet Gateway is a plugin that extends WooCommerce, allowing you to take payments via Google Wallet.

General information

↑ Back to top
Because WooCommerce calculates tax and shipping, this plugin send that information to Google Wallet. Any tax and shipping rules created in your Google Wallet merchant account will not be used.
You must enable SSL from the settings panel to use this plugin in live mode – this is for your customers safety and for the Google Wallet notification callback to function properly.


↑ Back to top

  • Purchase and download the plugin zip file from WooCommerce.com
  • Login to your WordPress Admin. Click on Plugins | Add New from the left hand menu
  • Click on the “Upload” option, then click “Browse” to select the zip file from your computer. Once selected, press “OK” and press the “Install Now” button.
  • Activate the plugin.

Configure the gateway

↑ Back to top
  • To configure the plugin, click on WooCommerce | Settings from the left hand menu, then the top tab “Payment Gateways”. You should see “Google Wallet” as an option in the list.
  • Optionally you can select the radio button next to this option to make it the default gateway.
  • You should see “Google Wallet” displayed across the top of the page as a link also. Click on this to configure the plugin, and you will see a list of options:
    • Enable/Disable checkbox for this gateway.
    • The “Title” option allows you to determine what your customers will see this payment option described as on the checkout page.
    • The “Description” box controls the message that appears under the payment fields on the checkout page.
    • Merchant ID – Requested from Google Wallet.
    • Merchant key – Requested from Google Wallet.
    • Google Wallet Sandbox – You can use the Google Wallet Sandbox feature to make test purchases before going live.
    • Debug – If this option is checked then details of communication with Google Wallet are stored in a debug log at location /wp-content/plugins/woocommerce/logs/googlewallet.txt.
    • Press Save changes to save your changes.

Sandbox feature

↑ Back to top
You can test the gateway by enable Google Wallet Sandbox in the payment gateway settings. Sandbox mode does not require you to enable SSL. To use the sandbox feature you need to create a sandbox buyer account (https://sandbox.google.com/checkout) and a sandbox merchant account (https://sandbox.google.com/checkout/sell).

Google Wallet account setup

↑ Back to top
  • Login to your Google Wallet account. Navigate to –> Settings –> Integration.
  • Shopping cart post security – The checkbox My company will only post digitally signed carts should not be checked.
  • API callback URL – https://yourdomain.com/?googleCheckoutListener=1 From version 1.3.3  the URL must be changed to https://yourdomain.com/?wc-api=WC_Gateway_Google_Wallet 
  • Callback contents – Notification as XML.
  • API Version – Version 2.0.

WooCommerce version 2.0 compatibility

↑ Back to top
Version 1.3.3 of the Google Wallet gateway is compatible with WooCommerce version 2.0. From version 1.3.3  the callback URL must be changed to https://yourdomain.com/?wc-api=WC_Gateway_Google_Wallet
  • Login to your Google Wallet account. Navigate to –> Settings –> Integration.
  • Change the API callback URL to – https://yourdomain.com/?wc-api=WC_Gateway_Google_Wallet