Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MarathonStudios's avatar

Manual Invoicing with Spark

I have a customer who wants to be sent an invoice instead of entering their credit card information in the website. I think this is the way some large companies prefer to pay for things.

What is the best way to do this with Spark? Is there a way to manually create an invoice in Stripe and link that to their subscription?

The simplest way I can think of would be to apply a 100% coupon to their account then invoice them manually through Stripe. But in the future if the renewal is not paid I would have to cancel their account manually.

0 likes
2 replies
Braunson's avatar

Yes you'd have to do this manually and assign them a 'Free plan' of sorts.

You could also create a cron in your system and code to manually create an invoice for them via the Stripe API as well.

MarathonStudios's avatar
Level 9

I found a good solution that works with Spark and Stripe.

  1. Create the customer and subscription invoice in Stripe. You can set terms such as NET30.
  2. Set up the subscription in the Spark DB manually. a. Set the customer ID and current plan ID in the user table b. Create a new subscription record for the user and fill in stripe_id, stripe_plan, etc.

You can configure the collection settings in Stripe. For example, you can set when reminders for unpaid invoices are sent and how long after an invoice due date the subscription is cancelled.

Note: This is for enterprise sales. You would only want to do this for large customers who you trust will pay.

Please or to participate in this conversation.