Keep Stripe Checkout
Stripe still collects payment details and completes the payment. Numeral prepares the cart with the correct tax first.
Use the best location signal
Send a complete address, a customer IP address, or let Numeral collect only the missing location fields.
Choose the buyer experience
Redirect through a Numeral-hosted address step or embed the secure collector directly in your checkout.
Validate before payment
Numeral checks location data before tax is finalized, including mismatched state or province and postal code combinations.
A small change to your Stripe integration
Instead of callingstripe.checkout.sessions.create(...), call numeral.tax.bridge.sessions.create(...). The checkout object remains familiar: it uses your connected Stripe account, Stripe Price IDs, line-item quantities, and success and cancel URLs.
The initial release supports one-time Stripe Checkout payments. Subscription mode is not part of the public launch contract.
How it works
When the address or IP resolves to a tax location immediately, the returnedurl normally points directly to Stripe Checkout. When more information is required:
collection_mode: "hosted"returns a Numeral-hosted URL that collects the missing fields and then continues to Stripe.collection_mode: "embedded"returns a session-scopedclient_secretfor the<numeral-checkout>element on your page.
url as opaque and redirect the buyer to it without checking its hostname.
Before you start
1
Connect your Stripe account
In the Numeral dashboard, open Connections, add Stripe, and complete the connection. Numeral uses the stored connection; you do not enter the Stripe secret key again when configuring checkout.
2
Create a checkout configuration
Open Developers → Numeral for Stripe Checkout. Use the dashboard’s Test Mode switch to configure test and live environments separately.Select the Stripe connection and provide:
- Your seller origin address
- The billing, shipping, or service address used for tax
- Success and cancel URLs
- Allowed redirect origins
- Origins allowed to embed the collector
- A default Numeral product category
brcfg_... configuration ID.3
Install the SDK
4
Create sessions from your server
Keep the Numeral secret key on your server. Never expose an
sk_test_... or live Numeral API key in browser JavaScript.Create a session with a complete address
If your checkout already collects the customer address, include it in the initial request. Numeral validates the location, calculates tax, and can return Stripe Checkout without an additional address step.Choose how Numeral gets the customer location
Send an address
Best when your checkout already collects billing, shipping, or service address information.
Send the customer IP
Avoid an address form when the customer’s public IP resolves with enough confidence.
Use hosted collection
Redirect through a polished Numeral address step only when more location data is required.
Embed collection
Keep the address experience inside your checkout with the secure
<numeral-checkout> element.Test before going live
Use a test-mode Numeral API key, a test-mode Stripe connection, and a test configuration ID together. A successful end-to-end payment progresses through these public states:4242 4242 4242 4242, any future expiration date, and any CVC.