Ecommerce with stripe & QB

Any ideas about an ecommerce site w/ Anvil and QuickBooks?

We want people to sign up with a recurring payment, be able to access their account balance, and provision licenses to our services/applications with this site.

Anvil’s Stripe integration allows you to create customers in your Stripe account, so you can keep track of your recurring customers and their payments.

The Stripe integration also allows you to sign customers up for Stripe ‘plans’. In the Stripe dashboard, you can set up products that are paid for on a recurring basis:

then sign your users up for a plan as follows:

  subscription = customer.new_subscription("my-plan-id")

See recurring subscriptions in the reference docs (it’s probably worth taking a look more generally at the Stripe section).

Anvil doesn’t have a built-in Quickbooks integration, but Quickbooks does have an API that we can personally attest is very good!

It may be sufficient to record account balances and licence keys against users using the Users Service - users are simply stored in a Data Table so you could have the account balance in a column of the Users table, and a one-to-many link between users and their license keys.

1 Like

Being an Intuit Developer Partner I can attest to that!

Stripe’s API is well documented & quite extensive as well.

You might also want to check out the example where I live-code a SaaS app, complete with Stripe subscriptions, in less than an hour:

Very helpful. Thank you. I appreciate how concise your tutorials are.
I think my 45-day to production goal just got slashed by 2/3’s.

1 Like

Also be aware if you use the Stripe components provided by anvil - you pay an additional 2% processing fee to Anvil. Also, the card IDs you get back from the Anvil stripe API aren’t compatible with the full stripe API (at least I couldn’t get them to work). So either go all anvil, or all stripe, you can’t mix and match.

If you need a rapid set up for stripe - then you really can’t beat Anvil, it really is worth the 2%. But if you need more sophisticated handling of things, then the stripe API is pretty easy to get up and going.

1 Like

Good news for ecommerce sites - we are removing our processing fee! Anvil will no longer apply any charges for processing your Stripe transactions.

(You still have to pay Stripe, of course, as you would when using their API directly - here is their pricing page.)

3 Likes