Adding Stripe to your WooCommerce Store

Enabling Stripe on your WooCommerce store to simplify the payment process for your customers, including mobile wallet options like Apple Pay.

This blog post will guide you through enabling Stripe on your WooCommerce store to simplify the payment process for your customers, including mobile wallet options like Apple Pay.

Why Stripe?

The Stripe plugin is a popular choice for WooCommerce payments because it avoids the margins associated with WooCommerce Payments. Here’s how to set it up:

  1. Download the Stripe Plugin: Locate the Stripe plugin for WooCommerce and download it from the official source.
  2. Upload the Plugin: In your WordPress dashboard, go to Plugins > Add New > Upload Plugin and select the downloaded file. Activate the plugin once uploaded.
  3. Connect Your Stripe Account: Click on Settings within the Stripe plugin and follow the prompts to connect your Stripe account.
  4. Enable Test Mode (Optional): It’s recommended to test the functionality before going live. Enable test mode within the Stripe plugin settings.
  5. Configure Webhooks: Webhooks allow Stripe to notify your website about payment statuses. In your Stripe dashboard, navigate to Webhooks and copy the URL provided. Within your WooCommerce settings, locate the Stripe webhook settings and paste the copied URL. Don’t forget to select the relevant events that you want to be notified about.

Testing the Integration:

  1. Create a test order in your WooCommerce store and choose the Stripe test payment option.
  2. Use the provided test credit card details to complete the payment.
  3. Verifying the Transaction: Check your Stripe dashboard to confirm that the test transaction appears. Additionally, within WooCommerce, verify that the order reflects a successful payment.

Going Live:

  1. Disable test mode within the Stripe plugin settings.
  2. Save your changes.

Enabling Apple Pay:

  1. In your Stripe dashboard, navigate to Settings > Payment Methods > Payment Method Domains.
  2. Add your website domain and download the provided file.
  3. Upload the Apple Pay Domain Association File: This file needs to be uploaded to a specific directory on your website’s server, typically the .well-known folder within your web root directory. You may need to use FTP or SFTP to upload the file.
  4. Verification: Once uploaded, return to your Stripe dashboard and click the “Verify” button to confirm the file’s presence. In some cases, your website’s security measures might block this process. You may need to adjust your website application firewall (WAF) rules to allow Stripe’s access for verification.

Conclusion:

By following these steps, you can successfully integrate Stripe with your WooCommerce store, enabling you to accept secure payments and offering mobile wallet convenience to your customers. Remember to like and subscribe for more helpful content!

Duncan Isaksen-Loxton

Educated as a web developer, with over 20 years of internet based work and experience, Duncan is a Google Workspace Certified Collaboration Engineer and a WordPress expert.
Login
Log in below to access your courses.
Log In With Google
Forgot Password
Enter your email address or username and we’ll send you instructions to reset your password.