FAQs and How-tos
How to set up your Stripe integration in Amberflo
5 min
how to set up your stripe integration in amberflo amberflo integrates with stripe out of the box for payment processing when an invoice is generated, the amount is sent to stripe, which then handles the collection of payment amberflo continuously monitors the payment lifecycle in real time and updates the invoice status accordingly prerequisites before setting up the integration, ensure you have an active stripe account configuration steps navigate to the integration settings use the main navigation menu in amberflo to go to integrations select payments sync customers between stripe and amberflo you have a couple of options to align your customer data create stripe customers via amberflo api use the amberflo apis to automatically create corresponding customers in stripe link existing stripe customers if customers already exist in stripe, update the corresponding amberflo customer records by setting the stripeid trait this trait links each amberflo customer object with its matching stripe record once the integration is set, amberflo and stripe will stay in sync, ensuring a seamless billing and payment workflow { "customername" "monsters, inc ", "enabled"\ true, "updatetime" 1648767962572, "traits" { "stripeid" "cus lcep3lbelibfsm", "paymentprovidername" "stripe" }, "createtime" 1631836633987, "customeremail" "", "description" "", "id" "54a43bba 915d 4512 a0bd 9d9debe5555", "customerid" "54a43bba 915d 4512 a0bd 9d9debe5555" } customer creation and test mode setup option 1 automatically create stripe customers you can automatically create customers in stripe by either using the amberflo api and setting the parameter autocreatecustomerinstripe to true toggling the create customer in stripe option in the amberflo ui when creating a new customer amberflo will then handle creating the corresponding customer record in stripe and link it using the stripe customer id option 2 link existing stripe customers if your customers are already created in stripe copy the stripe customer id (e g , cus ) from your stripe account navigate to the customer tab in amberflo paste the id into the payment information section to link the amberflo customer with their stripe record note a valid stripe id is required for prepaid functionality to work properly in amberflo if not, you will see this error upon ingestion { "errormessage" “invalid request customer missing trait called stripeid” } testing stripe integration to test this integration safely set up stripe in test mode create a test customer in stripe copy the test customer id to the amberflo customer record assign a default payment method using stripe’s test credit card numbers, such as 4242 4242 4242 4242 this setup allows you to safely test invoice creation, payment processing, and amberflo–stripe synchronization without using real customer data 📘 faqs and how tos docid\ bq14rede1rrwst00mbikx see related from invoicing and payments how to bill customers in different currencies docid\ w2iaparrkbxzneuvoww2x how to resolve when a customer is issued an invoice but has not yet provided payment information docid\ ramjygdjkdlzdnmpfw1kj how to streamline/automate usage based billing for serverless functions running across multiple cloud envioronments docid\ fejhok8idw46htjkpj3kw