Project
Pronto Bookstore: Buy and Sell Books Online, Built on Laravel
Pronto Bookstore sells books from its own stock and buys used books by ISBN. I built its Laravel app: ISBN search, instant buy-back offers, EasyPost labels in both directions, Stripe Checkout with coupons, Amazon price history and the admin panel.

Pronto Bookstore is an online bookstore in the United States that works in two directions. People can buy books from Pronto's own stock, and they can sell their used books to Pronto: type the ISBN, get an offer, ship the books with a free prepaid label and get paid. Its homepage promises free shipping on books in stock and a 30-day return policy.
I built the Laravel application behind it: the buying and selling flows, the connections to book data, price and shipping services, the customer accounts, and the admin panel the team runs the store from.
What I built
- Buying: search by ISBN, title or author, a cart for guests and members, Stripe Checkout with coupons, order emails and order tracking.
- Selling: instant offers for each book in three conditions, a seller cart, a prepaid shipping label and a choice of payout.
- Book data: ISBNdb lookups for the search and for adding stock, with cover pictures saved on the server.
- Shipping: EasyPost shipments in both directions, the cheapest label, tracking codes and a delivery check.
- Amazon price history: a chart of a book's Amazon price, from one month back to all time.
- Admin panel: stock, orders, buy-back orders, reports, coupons, blog, FAQs, banners, a help desk, staff roles and the service keys.
- Accounts: sign-up with email verification and reCAPTCHA, Google and Facebook sign-in, and a dashboard of books bought and sold.
How Pronto works
Three groups use Pronto: people who buy, people who sell, and the store's team.
Buyers
A buyer searches by ISBN, title or author. Pronto's own stock comes first. When the store does not have the book, the search still finds it through ISBNdb and shows its details, so the visitor never hits a blank page.
The book page shows the cover, author, publisher, pages and summary, similar books, and a "View price history" button with the book's Amazon price over time. It also shows what Pronto would pay for the same book, which turns a buyer into a possible seller later.
Books go into a cart. Guests get a cart in their session, and when they sign in, it moves into their account without doubling anything already there. "Buy now" skips the cart for a single book. At checkout the buyer can ship to a different address and enter a coupon, then pays on Stripe's own page. After payment the order is saved, the stock goes down, a shipping label is bought, the tracking code is stored and the buyer gets an email.
A guest who bought without an account can look the order up by its number or by email address.
Sellers
The site sums up selling in three steps: quote, ship, get paid.
Quote. The seller looks a book up by ISBN or title. For each book Pronto asks BooksRun's price service what that ISBN is worth in three conditions: New, Good and Average. The seller adds books to a seller cart, sets the number of copies and picks the condition of each one, and the total follows. The cart page also lists what the store does not accept: revealed access codes, incomplete sets, instructor's editions, books with missing pages, counterfeit copies, and workbooks with writing on more than two pages.
Ship. The seller chooses how to be paid, by cheque in a given name or through Stripe to an email address, and confirms. If the address in their profile is not complete, the site asks for it first. Then Pronto buys a prepaid label from the seller's address to the store, saves it, and shows a page with shipping instructions, the label to print, the tracking details and the order summary.
Get paid. The site checks the parcel's status with the carrier. Once it shows as delivered, the sell order is marked completed and the team pays the seller in the way they chose. The site promises payment within two business days of receiving the books.
The admin team
The admin panel covers the whole store:
- Books: add a book by ISBN and the form fills itself from ISBNdb. The team sets the format (paperback or hardcover), the condition (New, Like New, Good or Acceptable), price, stock, weight and size, category and sub-category, and author, and can switch many books on or off at once.
- Orders: buyer orders, buy-back orders from sellers, and payouts.
- Reports: books sold to buyers and their value, books bought from sellers and what was paid, each with a date filter.
- Selling tools: coupons (a percentage or a fixed amount, valid between two dates) and homepage banners.
- Content: a blog with main categories and sub-categories, FAQs, and search engine fields for the pages.
- Customers: user accounts, contact messages answered by email, and a help desk where signed-in users ask questions and the team replies.
- Staff: admin accounts with roles, built from 57 permissions across 16 areas, so each team member can open only the screens their role allows.
- Settings: the site name, logo, favicon and mail settings, and the keys of every outside service (Google, Facebook, Google Maps, Stripe, ISBNdb, Keepa, BooksRun and EasyPost). The keys are stored in the database and loaded when the app starts, so the team can change a key without touching the code.
Book data from three services
A bookstore lives on good data, and no single service had all of it, so the search combines three:
| Service | What Pronto uses it for |
|---|---|
| ISBNdb | title, authors, publisher, pages, summary, cover and dimensions for any ISBN, title or author |
| BooksRun | what a used book is worth on the buy-back market, in New, Good and Average condition |
| Keepa | the history of a book's Amazon price |
The search tries the most exact match first. An ISBN is looked up in the store, then in ISBNdb. If that finds nothing, the text is tried as a title, then as an author, with results in pages of ten. The admin side uses the same lookup: typing an ISBN fills the new book's form, and the cover picture is downloaded and kept on Pronto's own server, so the shop does not depend on someone else's image address.
The weight matters too, because a shipping label is priced by weight. The team enters each stocked book's real weight, and every book in a seller's cart carries a shipping weight as well.
Shipping labels in both directions
EasyPost handles the parcels, and Pronto uses it both ways.
Books to a buyer. When the buyer enters an address at checkout, Pronto creates a shipment from the store's pickup address to that address, with the total weight of the cart. That step also checks the address: if no carrier can deliver there, the buyer is told before paying. After payment, Pronto buys the cheapest rate and saves the tracking code with the order.
Books from a seller. The same thing runs the other way, from the seller's address to the store. The label's picture is downloaded and stored with the sell order, so the seller can print it again from their dashboard at any time.
The store's own pickup address is kept in the admin panel, so a move to a new warehouse is one form, not a code change.
Reading Amazon's price history
Keepa's data is compact and not meant for people. A book's price history comes as one long list where times and prices take turns. The times are minutes counted from Keepa's own starting point, not normal dates, and the prices are in cents, with -1 where nobody offered the book.
The backend turns each pair into a calendar date and a dollar price, skips the gaps, and returns two plain lists, dates and prices. The book page draws them with Chart.js, with buttons for one month, three months, six months, one year and all time. A buyer sees whether today's price is a good one, and a seller sees whether the book holds its value.
Payments and coupons with Stripe
The Stripe Checkout page is built on the server from the cart and the store's own prices, never from prices sent by the browser.
Coupons needed one extra step. Pronto keeps its own coupons, with a type, an amount and dates. When a valid coupon is used, the backend creates a matching one-time coupon in Stripe, a percentage off or a fixed amount off, and attaches it to the checkout. So the discount shows on Stripe's own payment page, and the amount charged and the amount in Pronto's order agree.
When Stripe sends the buyer back, Pronto does not trust the return address alone. It reads the checkout session from Stripe and takes the payment reference and the amount from there before it saves the order.
Accounts, guests and safety
- Guests and members: both carts, the one for buying and the one for selling, work without an account and move into the account at sign-in.
- Sign-in: email and password with email verification, or Google or Facebook.
- Forms: Google reCAPTCHA v3 on sign-in and sign-up keeps bots out without a puzzle for people.
- Dashboard: books bought and books sold, each with its details and status, the profile, the password and help requests.
What I took from this project
A buy-back store is really two shops sharing one stock room, and most of the work sat between them and the outside services. Each service answers in its own shape, so the useful work was turning those answers into one clear page: a book, a price, a label and a tracking number.
Tools used
| Area | Tools |
|---|---|
| Backend | Laravel, PHP, MySQL |
| Frontend | Blade templates, Bootstrap, jQuery, Chart.js |
| Payments | Stripe Checkout and Stripe coupons |
| Shipping | EasyPost labels, rates and tracking |
| Book data | ISBNdb, BooksRun, Keepa |
| Sign-in | Laravel Breeze, Laravel Socialite (Google, Facebook), Google reCAPTCHA v3 |
| Admin and carts | Spatie roles and permissions, a session cart package for guest carts |
Do you need a store that talks to payment, shipping and data services and keeps them in step? Tell me about it.

Comments
No ratings yet
Log in to comment
Only members can comment and rate posts. It is free and takes a minute.
No comments yet. Be the first to share your thoughts.