FAQs and How-tos

How to set up your Stripe integration in Amberflo

3min
amberflo integrates with stripe out of the box for payment processing the invoice amount is sent to stripe, which handles payment collection amberflo monitors this lifecycle in realtime and updates the status of invoices in amberflo as they change in stripe to configure the stripe integration, you must already have an active stripe account created use the main navigation menu to select integrations, then choose payments you will need to sync your customer base between stripe and amberflo we provide a few different ways to do this customers can be created automatically in stripe (using amberflo apis) or if you already have created stripe customers, you can update the amberflo customer object with the customers from stripe by setting the 'stripeid' customer trait the amberflo customer object will have a trail called 'stripeid' that is used to associate between the amberflo customer object and stripe's { "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" } if you choose to automatically create the stripe customers, you can either use amberflo sdks or the api ( https //docs amberflo io/reference/post customers https //docs amberflo io/reference/post customers ) with 'autocreatecustomerinstripe' set to true in the ui, you can toggle the option to 'create customer in stripe' if you already have the customers created in stripe and you would like to set up the amberflo customers with payment information, copy the created customer id (cus ) from stripe into the amberflo customer tab to update the payment information please 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” } as a workaround for testing, you can to set up stripe in test mode, than create a customer and copy the customer id (cus …) to amberflo customer payment information create a default payment as a test credit card in stripe and use a dummy credit card number like 4242 4242 4242 4242 📘 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