Invoice item - stripe payment

Hi I am Louka, the developer of a restaurant delivery service using your platform in conjunction with Stripe for payments. I have integrated the payment system by configuring the total of the orders directly in Bubble. However, although the total amount is correct, the generated invoices do not detail the different components of the order, such as the items in the cart, delivery fees, platform fees, and tips, nor do they clearly manage the taxation, especially for non-taxable items like tips.

Originally, I configured the payments using the ChargeTheCurrentUser or ChargeTheSafeCCUser actions with just the total amount in the Amount field. I then attempted to prepare more detailed invoices by creating InvoiceItems before finalizing the charge, hoping that the taxes on the InvoiceItems would be automatically recognized. However, the taxes associated with these InvoiceItems are not recognized by the system.

In trying another method with createInvoice, I found that the total calculated for the invoice was not properly recognized, as if there was a bug in this configuration of the invoice item total. Additionally, when using ChargeTheCurrentUser and ChargeTheSafeCCUser, I note that only one of these actions allows the addition of a TaxID and promo codes, which further limits my ability to configure payments as desired, but even then, the Tax ID only allows it to be added to the total and not just a part of the items, as tips are not taxable.

I also tried using Payment Intents with specific metadata to integrate additional details, but these details only appear at the bottom of the transactions on Stripe and are not visible on the final invoice, complicating integration with QuickBooks, where it is essential that each element be clearly identified for precise financial management.

I have explored several plugins and used API connectors in an attempt to solve these problems, but so far, no solution has been satisfactory. My attempts to find answers or alternative configurations on online forums have also not been successful.

Faced with these challenges, I seek assistance in finding a solution that would clearly structure the information on the generated invoices. Are there recommended plugins, best practices, or specific configurations in Bubble to improve this integration?

Try using Create an Invoice Item

The bubble Stripe plugin is pretty good for most usecases. However, your usecase is very specific. I would suggest Stripe API integration directly. This will allow you to customise all the details.

You can have a look at the Stripe Invoice Integration here.
https://docs.stripe.com/api/invoices/object

Hope it helps!

Thank you @animisha45 and @johnny for your prompt responses and suggestions. I would like to clarify and deepen certain points to ensure a better understanding of the difficulties encountered.

Firstly, I have integrated the creation of invoice items directly into the Bubble workflow. The idea was to use these items to generate detailed amounts, including taxes, via the “Charge the current user” or “Charge the save CC user” options. However, even after configuring a tax ID for each invoice item, it seems that the amounts calculated during the charge do not properly incorporate these fiscal details. The details seem to be not correctly transmitted to Stripe during the payment process, even though the user does indeed receive an invoice in their Stripe account. It is crucial that this information is clearly visible and correctly calculated to ensure accurate billing to our clients.

When I try to create an invoice with these items, the system returns a total amount of zero, indicating a problem in summing the items in the invoice.

Next, regarding the suggestion to use Stripe’s invoice API integration, I have attempted to implement this solution but without success. There appears to be a lack of clear documentation or tutorials to effectively implement this feature. If anyone has similar experiences or specific advice on configuring this integration in Bubble, it would be extremely helpful.

I am therefore seeking technical assistance or feedback from those who have successfully configured these elements in Bubble and Stripe. If you have any tutorials, guides, or specific tips to improve this integration, that would be tremendously beneficial. I have been working on this problem for several days without finding a viable solution.

I am open to any further help or suggestions and thank you again for your time and assistance.

I see. I have worked with Stripe APIs before so I would be happy to help with this. We can connect over a call to discuss. I will send you a dm with my calendly link.

This topic was automatically closed after 70 days. New replies are no longer allowed.