Software, your way.
How To Get Good Custom Software
(Download)
(PDF)
burger menu icon
WillMaster

WillMasterBlog > Tips and Tricks

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

A Payments Web Page

When you want to sell something on your website

  1. People need a way to indicate what they want.
  2. Then they need a way to pay you.
  3. After payment, you deliver their purchase.

This article is a general overview. The article's purpose is to clarify what needs to be done to sell on your website.

The Products

Whether you have one product or many, the potential buyer needs a way to indicate what they want to buy. It may be a simple page with a place to click or it may be a complex shopping cart.

Here is an example product.

A Woofer Toy!
Plush. Choice of red or blue. Child safe. Cuddlesome.
$14.99

Woofer

If only one product is for sale on the website, the "Tap to Buy" button would take the person directly to the payment mechanism.

Otherwise, the "Tap to Buy" button would add the product to the buyer's shopping cart. (The button could be labeled "Add to Cart" instead of "Tap to Buy".) When the buyer is ready to check out, then they would be taken to the payment mechanism.

The Payment Mechanism

The payment mechanism is where the buyer completes their purchase.

It may be on the same web page as the product if all your products fit on one page. If you use a shopping cart, the payment mechanism generally is on a web page by itself.

If you charge for shipping or handling, the amount needs to be added to the total before payment is made. You might have a flat fee for shipping and handling or you might have a database lookup to determine shipping amounts depending on the product's shipping destination.

If you charge sales tax for destinations to certain geographical areas, the tax needs to be added to the total before payment is made.

Because you are not a bank, payments need to go through a payment gateway. The payment gateway can act like a bank for you — even though the gateway is just a service acting as an agent.

Stripe is the payment gateway we use on our websites for credit card purchases, so I'll use that one for reference. We also provide the means for buyers to pay through their PayPal account, so I'll refer to that, too.

You actually only need one payment gateway. I mention two here because they are the most common.

When the buyer arrives at the web page with the payment mechanism, they may find a choice of how to pay.

Payment By Credit Card

With Stripe as the payment gateway, the credit card information is collected on your website. The information is submitted to the Stripe website. When the credit card is approved, the order can be completed.

Payment By PayPal

With PayPal as the payment gateway, the buyer is sent to the PayPal website. When payment is arranged, the buyer is returned to your website and the order can be completed.

Completing the Order

When payment has been arranged, your website provides a confirmation message or redirects the buyer to a confirmation page.

Your software sends a confirmation email to the buyer. (You would have collected their email address with the payment form (if Stripe) or PayPal would have provided you with their email address.)

Now, the only thing left to do is to get the product to the buyer.

If the product needs to be shipped, you ship it. If the product is an electronic download, the buyer is directed to a download link.

Happy sales to you!

Will Bontrager

Was this blog post helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method


All information in WillMaster Blog articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

Recent Articles in the Library

Keeping Image Location Secret

The URL of an image embedded in a web page may be kept secret.

Easier Reading of JSON Data

For easier reading of JSON data, convert the JSON into an array.

Fixed Position Image

Position an image within a browser window that won't move even with page scroll.

Visually Centering Images

Sometimes an image that is technically centered doesn't look quite centered when viewed.

Cookie Directory Protection

Protecting subdirectories with a cookie can be an especially good method when access needs to be allowed from various internet connections.

Check SSL Certificate

An easy-to-use SSL checker to see when your secure certificate expires.

Strong Form Protection From Bots

A web page form that is invisible to spam bots.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List
software index page

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2024 Will Bontrager Software LLC