Sign in
An image of the Stripe logo
Create account
Sign in
Home
Payments
Business operations
Financial services
Developer tools
Security
All products
Home
Payments
Business operations
Home
Payments
Business operations
Financial services
Developer tools
Support
Overview
Quickstart
Stripe Shell
Stripe CLI
Dashboard
Stripe for Visual Studio Code
Webhooks
File uploads
Error handling
API
Tour
Keys
Libraries
Upgrades
Rate limits
Card testing
Expanding responses
Domains and IP addresses
Search
Building With Stripe
React Stripe.js
Prebuilt iOS UI
Prebuilt Android UI
Extensions
Connectors
Building connectors
WordPress
Drupal
Magento 1
Adobe Commerce
Joomla
Salesforce
Salesforce Billing and CPQ
Salesforce Commerce Cloud
Component Overview
Implementation Guide
Operations and Maintenance
User Guide
Testing
Mirakl
No coding required
Samples
Checklist
Feedback
HomeDeveloper toolsConnectorsSalesforceSalesforce Commerce Cloud

Installing Stripe for Salesforce Commerce Cloud Shopfront Reference Architecture

Learn about the Stripe for Salesforce Commerce Cloud Shopfront architecture.

Functional Overview

Stripe Elements and Sources

Stripe Elements modifies the default Commerce Cloud Credit Card collection and processing by using Stripe.js, a JavaScript library, to securely tokenize credit card data. Payments are then processed using the tokenized data, not the raw credit card information.

During checkout, the cartridge creates a source for any new cards or alternate payment methods that a customer enters. This tokenized data becomes a Stripe Source and generatew a Stripe Charge at the point of purchase. Registered Customers can manage (add or delete) reusable payment methods in their storefront-connected Stripe Account for re-use in subsequent storefront purchases.

Use Cases

Stripe.js Sources

When customers enter credit card or other payment information on the storefront, Stripe.js tokenizes it in interactions between Stripe and the client (browser). Unmasked credit card data is therefore never sent to the Commerce Cloud servers.

Stripe Charges

The system creates a Stripe Charge (authorize or capture, based on Business Manager configuration) from a successfully created and submitted Basket. All Stripe Charges are created against a Stripe payment Source.

AVS Auto-Fail Transactions

Site administrators can select a variety of AVS statuses to auto fail an Order for. If the Stripe Charge returns any of the selected statuses for either address_line1_check or address_zip_check the Order will be auto-failed and the Stripe Charge reversed. You can also manage these settings on the Stripe Dashboard. Supported payment methods:

  • Cards (Visa, Mastercard, American Express, Discover, Diners Club, JCB) Alipay
  • The Payment Request Button Element gives you a single integration for Apple Pay, Google Pay, Microsoft Pay, and the browser standard Payment Request API.

Limitations, Constraints

Stripe offers a number of standard services that aren’t supported by the cartridge. These include support for Subscriptions, Plans, and Coupons. There aren’t any known locale specific restrictions in the cartridge.

The included RELAY OCAPI configurations are included as examples only. A RELAY implementation requires additional configuration and testing along with the Stripe team. For any locale specific restrictions, see the Stripe.js documentation.

Compatibility

Available since Commerce Cloud Platform Release 16.8, SFRA version 4.4

The cartridge is available for installations on storefronts that support both Controller and SFRA SiteGenesis implementations.

Privacy

Commerce Cloud doesn’t store any unmasked credit card data. The cartridge tokenizes all payment data within direct client-to-Stripe communications and obscures any sensitive credit card data before it arrives on the Commerce Cloud servers. Similarly, all credit card data that Commerce Cloud retrieves from the Stripe servers is either masked, tokenized, or both.

Next steps

  • Implementation Guide
  • Operations and Maintenance
  • User Guide
  • Testing
Was this page helpful?
Questions? Contact us.
View developer tutorials on YouTube.
Check out our product changelog.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
On this page
Functional Overview
Use Cases
Limitations, Constraints
Compatibility
Privacy
Next steps
Stripe Shell
Test mode
▗▄ ▄▟█ █▀▀ ▗▟████▙▖ ██████ ███▗▟█ ███ ███▗▟██▙▖ ▗▟█████▙▖ ███▖ ▀▀ ███ ███▀▀▀ ███ ███▀ ███ ███ ███ ▝▜████▙▖ ███ ███ ███ ███ ███ █████████ ▄▄ ▝███ ███ ▄ ███ ███ ███▄ ███ ███ ▄▄ ▝▜████▛▘ ▝▜███▛ ███ ███ ███▝▜██▛▘ ▝▜█████▛▘ ███ ▀▘
Welcome to the Stripe Shell! This is a graphical user interface of the Stripe CLI. You can use it to discover webhook events and manage your Stripe resources. By pressing ctrl + ` you can toggle it open from any page within the Stripe documentation. - View supported commands: - Listen for webhook events: - Trigger webhook events: - Call Stripe APIs: stripe [api resource] [api operation] (e.g. )
The Stripe Shell is best experienced on desktop.
$