Guides
Pricing and Billing

Payments - Stripe Integration

4min

Stripe Integration Setup Guide

Amberflo provides an out-of-the-box integration with Stripe for payment processing.

The invoice amount is sent to Stripe which handles payment collection. Amberflo monitors the lifecycle and updates the status of Invoices in Amberflo in real time as it changes in Stripe.

To configure the Stripe integration, use the main navigation menu on the left to select Settings, then choose Payments. Select whether you integrate with Stripe in test or production mode.



Document image


Customers can be created automatically in Stripe (through Amberflo APIs), or, if you already have Stripe customers, you can update the Amberflo customer object with the customer-id from Stripe by setting the StripeId customer trait. The Amberflo customer object will have a trait called StripeId that is used to associate between the Amberflo customer object and Stripe's.

JSON


If you choose to automatically create the Stripe customer, you can either use the Amberflo SDK or the API Create a customer with autoCreateCustomerInStripe set to true. In the UI, you can toggle the option to create in Stripe (image below):



Document image


If you already have the Customer in Stripe and you would like to set up the Amberflo customer with the payment information, copy the created Customer ID (cus_XXXXXX) from Stripe into the Amberflo customer tab to update the payment information.



Document image




Document image


Set up the default payment method in Stripe. For testing, you can use dummy credit cards.

📘 Further Reading