This documentation is under development and will be available shortly.
If you've already purchased the Drive Theme for HubSpot CMS please email firstname.lastname@example.org to receive the updated docs and to schedule a consultation.
Accept one-time card payments with Stripe
About Stripe Checkout
With the client-only integration, you define your products directly in the Stripe Dashboard and reference them by ID on the client side. It is best suited for simple integrations that don’t need dynamic pricing.
The client-only integration has several other notable differences. This integration does not support associating payments with existing Customer
objects or placing a hold on a card before charging it.
Stripe authenticates your API requests using your account’s API keys. If you do not include your key when making an API request, or use one that is incorrect or outdated, Stripe returns an error.
Every account is provided with separate keys for testing and for running live transactions. All API requests exist in either test or live mode
, and objects—customers, plans, coupons, and so forth—in one mode cannot be manipulated by objects in the other.
To use Checkout, you first need to create a Product
and a Price
. Different physical goods or levels of service should be represented by products. Each product’s pricing is represented by one or more prices.
Once you've created a product, copy and past the product id into the module field
When your customer completes a payment, Stripe redirects them to the URL that you specified in the
success_url parameter. Typically, this is a page on your website that informs your customer that their payment was successful.
When your customer clicks on your logo in a Checkout session without completing a payment, Checkout redirects them back to your website by navigating to the cancel URL you specified when configuring the code snippet.
Typically, this is the page on your website that the customer viewed prior to redirecting to Checkout.
Demos of full pages using modules and other features.