Stripe API
Hundredjack leverages the Stripe API to facilitate seamless shopping experiences for users and manage business operations efficiently.
Using Bubble.io's API Connector, Hundredjack integrates directly with Stripe, enabling robust functionalities beyond what existing plugins offer. This integration allows for comprehensive account, product, and pricing management, ensuring a smooth checkout process.
Key Features Enabled by Stripe API
Account Management: Creation and archiving of user accounts.
Product and Pricing Management: Dynamic creation and updating of products and prices.
Checkout Process: Display of multiple products, billing address input, promotion code application, and secure payment methods.
Invoice Generation: Users can download detailed invoices listing all purchased products and billing information.

API Call Implementation
Following the official Stripe API documentation, various actions have been created for use in Bubble workflows, ensuring seamless integration and functionality.
Integrated Actions Overview
Mouthguard Configurator:
When a user customizes and adds a mouthguard to the cart, a corresponding product entry is created in the Hundredjack database and on Stripe.
Pricing details for the product are also created on Stripe, ensuring accurate billing.

Cart Functionality:
During checkout, API actions connect or create a user account on Stripe.
The checkout page is launched on an external site, transmitting all relevant product information and images to Stripe.
The user can then finalize their purchase by entering payment details and completing the transaction.


Backend Workflows:
Upon order placement, Stripe's webhook endpoints relay order information back to Bubble.
This triggers backend workflows to create a new order in the database, capturing essential details like shipping information.
A new cart is generated for future use, while the old cart is retained for organizational purposes.

Last updated