commercebuild Success Portal commercebuild Success Portal

  • Home
  • Submit a Ticket
  • Updates
  • Login
  • Contact Us
Home / Tutorials / How to configure Stripe as a payment method

How to configure Stripe as a payment method

846 views 1 min , 2 sec read 0

This guide will walk you through the steps to configure Stripe as a payment method in your web store. A prerequisite is that you already have a Stripe account.

Obtain Your API Keys

Log into your Stripe account and navigate to https://dashboard.stripe.com/apikeys. First decide if you want your account in “Test Mode” (for testing purposes). If so, be sure to toggle on that option.

Next click on the “Publishable Key” to copy it to your clipboard. Save that key to a safe place. Next press “Reveal Secret Key” if one already exists and copy that to your clipboard. If you do not yet have a secret key, press the button to create one.

Configure Stripe in the Web Store

Next log into your commercebuild store and navigate to System → Payment Settings → Payment Method (/admin/mpayment/payment). Locate the payment method you want to modify (B2B, B2C, Open Invoices). Within that payment method, locate “Stripe” and press the “Edit” button found to the right of the option. Then press “Edit” again.

Fill in the details on the page. Ensuring that “Enviroment” is set to either “Production” or “Sandbox”, depending on whether your Stripe account is in test mode or not. Set the “Transaction Type” to either “Pre Authorization” or “Payment”. The Publishable and Secret Keys on this page can be pasted in from what you copied earlier. Press the Apply button to save those changes.

Next navigate back to System → Payment Settings → Payment Method (/admin/mpayment/payment). Ensure that the radio button is selected next to Stripe for that payment method.

Test

Finally, perform a test order through the site using Stripe. If you enabled “Pre Authorization” in the Stripe settings, check that the preauth is appearing in Stripe’s dashboard.

Stripe has a guide on how to test their services here: https://stripe.com/docs/testing

Tutorials

About Jess

View all posts by Jess →

Related Articles

  • How to Enable reCAPTCHA on Custom Forms
  • Adding a custom message to the shipping step at checkout
  • SQL Server Change Tracking Query for Sage 300 and X3
  • Enable Product Level Warehouse Restriction

Popular Articles

  • Enable Firewall Rules and a JavaScript Browser Challenge 2482 16
  • Enable Cloudflare Rate Limiting 2453 0
  • How to Add a JavaScript Snippet 2198 8
  • IP Allowlist 2124 0
  • Signing up for Cloudflare and Configuring Your Domain 2048 4

New Articles

  • Error when adding a new user: Email is already in use 761 0
  • How to Check commercebuild Payments Version 1029 0
  • How to Enable reCAPTCHA on Custom Forms 920 0
  • Manually posting an order 1064 0
  • Adding a custom message to the shipping step at checkout 897 0
© commercebuild 2022. All rights reserved.