ExaSpark
Blog

Product8 min read

How to sell CSA farm shares online before you plant

Sell CSA farm shares online: full or half shares, 3 pickup locations, pay once or in 5 monthly payments, and counts per spot.

Five wooden crates of tomatoes, peppers, cucumbers, zucchini and lettuce on a table under a farm shed, a helper with a clipboard behind.

To sell CSA farm shares online, put your shares on one sign-up page where members pick a share size, a pickup location and a payment plan. An admin page then counts sign-ups by location before you order seed. Mossbank Fields, a made-up farm, aims for 80 shares.

What should a CSA farm share sign-up page show?

In CSA farming, a farm share is a season of vegetables that a member pays for before the first harvest, and the farm decides what goes in each week's box. A meal prep business works differently: customers order from a weekly menu and pay every week. A CSA sells the whole season in winter, so most of the money comes in before planting, in one payment or in 5 monthly payments that then stop.

Mossbank Fields sells a 20-week season, from June 1 to October 16. Its share page answers what a family asks before paying:

What the page showsMossbank Fields
Crops by seasonLettuce and peas, then tomatoes and peppers, then squash and roots
What goes in the boxThe harvest decides each week's box
Share sizesFull share US$600 or Half share US$380 for the 20 weeks
Pickup locationsThe farm, Tuesday 3 to 6 pm; Corner Cafe, Thursday 4 to 7 pm; farmers market, Saturday 8 am to noon
PaymentIn full through Stripe, or 5 monthly payments of US$120 or US$76
Mossbank Fields share page with a crate of vegetables, 20 weeks from June 1 to October 16, Full share US$600, Half share US$380 and 3 pickup spots.
The share page answers the three questions a family asks before paying: what grows when, what each share size costs, and where to collect.

Anyone can read the share page, but signing up needs an account. The account is how the site shows each member their own share, pickup spot and payments left. Each pickup location has one fixed time, so a member who picks Corner Cafe knows the box waits there every Thursday from 4 to 7 pm.

How do you see how many shares each pickup location has sold?

The admin page keeps a share count by pickup location and share size, so the season's numbers sit on one page. Without it, the same answers come from an email list, the sign-up sheet at your market stall and a spreadsheet you keep by hand.

Question in JanuaryEmail list and spreadsheetSign-up site
How many shares are sold?Add up email replies, stall sign-ups and spreadsheet rows.The admin page shows how many of the 80 shares are left.
How many at each pickup spot?Sort the spreadsheet and count by hand.Full and Half shares are counted for each pickup location.
Who collects this week?Copy names onto a list for the helpers.Each week's pickup list is grouped by pickup location.

Say the Mossbank counts in mid-January read like this. The farm has 22 Full and 9 Half shares, Corner Cafe has 12 Full and 10 Half, and the farmers market has 8 Full and 6 Half. That is 67 shares, with 13 of the 80 left.

Admin page grid: the farm 22 Full and 9 Half, Corner Cafe 12 and 10, farmers market 8 and 6, with 13 of 80 shares left and sign-ups open.
Every sign-up lands in one grid of pickup spots and share sizes, so the totals and the shares left need no adding up.

Those counts go straight into the planting plan. Tuesday at the farm is the biggest pickup day, with 31 boxes, so that is the harvest to plan around. With 13 shares left, you can keep sign-ups open into spring and turn the switch off at 80. The site never marks shares as sold out on its own.

Seen over a farmer's shoulder, a winter kitchen table holds a shaded planting grid, blank seed envelopes and a bowl of squash, with snow outside.
In January the sign-up counts decide how many beds of each crop go into the planting plan, before any seed is ordered.

The prompt asks for these counts and the weekly lists, and they have not been through a test run yet. Sign up a few pretend members before you trust the numbers, and check that each one lands in the right cell.

How do you build a CSA farm share site with ExaSpark?

Run one prompt in ExaSpark, then sign up as a pretend member before you share the link. One prompt builds a working web app with a database, sign-in and roles, hosting on a custom domain, and Stripe payments. The prompt also sets up the monthly payment plan and the Skip this week button that the next two sections explain.

  1. Change three things

    Change the farm name and crops, the season and share prices, and the pickup spots. Run unchanged, the prompt builds the Mossbank Fields example, which is fine for a first test.

  2. Run the prompt

    Click Try it on the prompt below, or paste it into ExaSpark as it is.

  3. Create the owner account first

    Open the new site and sign up with your own email before anyone else. The prompt gives the admin page to the first account only.

  4. Sign up three pretend members

    In Stripe test mode, sign up one member paying in full and two on the monthly plan at different pickup spots. Check that the admin counts show all three in the right cells.

  5. Publish and share the link

    Publishing takes one click and gives you a free exaspark.app link. Send it to your email list and put it on a card at your market stall.

This prompt is filled in for Mossbank Fields. Before you run it, replace the farm name and crops, the season and share prices, and the pickup spots with your own:

Build a CSA website for Mossbank Fields, growing lettuce and peas, then tomatoes and peppers, then squash and roots. Season: 20 weeks, June 1 to October 16. Full share US$600 or Half share US$380, paid through Stripe in full or in 5 monthly payments of US$120 or US$76, ending after the 5th. The harvest decides each week's box. Pickup spots: the farm, Tuesday 3 to 6 pm; Corner Cafe, Thursday 4 to 7 pm; farmers market, Saturday 8 am to noon. Members sign up, choose size, spot and payment, then see only their own share, spot, payments left, spot changes (from next week) and Skip this week until noon before pickup day (still paid, off that week's list). Only the owner (first account) sees shares by spot and size, shares left of 80, a sign-up on/off switch, and weekly pickup lists by spot, skips marked. Publish with a shareable link.

Web

You need an ExaSpark account to run the prompt. A Stripe test account lets you try the whole checkout first. Connect your own Stripe account before you take real payments. Paid plans add your own domain and remove the ExaSpark badge.

How do members pay for a CSA share in monthly installments?

At sign-up, each member chooses between one payment in full and 5 monthly payments, and the monthly plan is set to stop after the fifth. Paying in full is a single Stripe payment. The monthly plan is a Stripe subscription with an end.

SharePay in full5 monthly payments
Full shareUS$600 onceUS$120 a month, 5 times
Half shareUS$380 onceUS$76 a month, 5 times
When payments endAt checkoutAfter the fifth payment
Sign-up form with Half share selected, Corner Cafe Thursday 4 to 7 pm as pickup, and 5 monthly payments of US$76 chosen over US$380 in full.
A Half share member who picks the monthly plan sees US$76 a month before checkout; paying in full would be one US$380 charge.

Stripe can end a subscription after a set number of billing periods with a subscription schedule that cancels at its end. On a membership website, a monthly fee renews until someone cancels it; this plan has a fixed fifth payment.

The first monthly payment is taken at sign-up and the rest follow once a month. A member who joins in January makes the fifth payment in May, before the first pickup on June 1. A member who joins in March pays into July.

The prompt asks for 5 payments and a stop, which still needs checking in a test run. In Stripe test mode, sign up a pretend member on the monthly plan, move a Stripe test clock forward 6 months and check for exactly 5 charges. The site does not issue refunds. If a member leaves mid-season, you refund the payment in the Stripe Dashboard by hand, in full or in part.

What happens to the pickup list when a member skips a week?

A member who skips a week comes off that week's pickup list and keeps the same payments, because the share is already paid for. To skip a week, the member presses Skip this week in their account before noon on the day before pickup.

Take Sam, who has a Half share at Corner Cafe. Sam joined on the monthly plan in mid-February, so 4 of 5 payments are made by the first Thursday pickup, June 3. Sam will be away that week.

Member account showing Half share at Corner Cafe, 4 of 5 payments made and a Skip this week button, linked to the June 3 list with Sam marked skipped.
Sam skips before the Wednesday noon deadline, so the Corner Cafe list for June 3 marks the box as not needed and the payments stay as they are.
  • Before the deadline. Sam presses Skip this week on Wednesday morning. The Thursday list at Corner Cafe marks Sam as skipped, and the helpers pack one Half share fewer.
  • After the deadline. At 1 pm on Wednesday the week is closed. Sam's box is packed and waits at the cafe as usual.
  • Payments stay the same. The fifth payment of US$76 keeps its date. A skip never refunds or lowers a payment.
  • The next week. Sam is back on the Corner Cafe list the following Thursday.

On a skipped week, Mossbank Fields gives the vegetables from that box to a local food bank. Tell members your own rule when they sign up. A member can also change pickup spot in their account, and the change applies from the next week, so this week's list stays as it was.

Seen from behind, a member lifts a head of lettuce from crates of radishes, snap peas, spring onions and kale while a helper holds a clipboard.
On pickup day the helpers pack from the list for that spot, and members collect their boxes at the fixed time.

The skip, the deadline and the spot change are rules the prompt asks for, and a test run has not confirmed them yet. Check them with a pretend member before you share the link. Skip once before noon and once after, then change a spot and open next week's list.

When should a farm use dedicated CSA software instead?

Use dedicated CSA software when your CSA needs more than a share page, two ways to pay and lists by pickup location. These needs point that way:

  • Members choose what goes in their box each week. Here the harvest decides the box, and members do not pick items or add extras.
  • You deliver to homes. This site has no delivery routes. Members collect from fixed pickup spots.
  • You accept SNAP or EBT benefits. Payments here go through Stripe only.
  • Vacation weeks earn a refund or a credit. Here a skipped week is still paid for, and any refund is one you make by hand in Stripe.
  • You have several hundred members. One admin page of counts and lists suits a farm-sized season.
  • Several farms run one CSA together. This site sells one farm's shares.

If none of these apply yet, run the prompt and sign up a pretend member on each payment plan. Then read the counts on the admin page before you send the link to your email list. A farm open day can work the same way, with a free sign-up page and a head count on your admin page. It needs its own prompt, and nobody has tested one for this guide.

Frequently asked questions

Can members change their pickup location mid-season?
Yes, in their own account. At Mossbank Fields the change applies from the next week, so this week's list stays as it was and next week's list shows the new spot. Try it with a pretend member before you share the link.
Can a member get a refund if they leave mid-season?
Not through the site. You refund the member by hand in your Stripe Dashboard, in full or in part. How much to return is your farm's rule, so tell members before they pay.
What happens when the season's shares are almost sold out?
The site keeps taking sign-ups until you close them, because it does not mark shares as sold out. Watch the shares-left count on your admin page and turn the sign-up switch off when you reach your target, such as 80 shares.
When should a CSA farm open sign-ups for next season?
Mossbank Fields opens sign-ups in December and reads the counts by pickup location before ordering seed in January. Members on the monthly plan who join by January finish their 5 payments before the first pickup on June 1.

What will you build?

More from the blog