Recreate each pasted button inside your payment account so the page carries only a reference and the price stays on the service's side, and match every amount received against the price before anything ships.

An order paid at a dollar

In the week before Christmas, a craft supply shop packs orders as fast as they arrive. One payment notice looks like the rest: a beginner's knitting kit, the customer's name, a shipping address, payment complete.

The kit sells for $90. The payment received was $1, and the box was already taped shut when someone happened to read the amount.

No one broke into anything. The price came from the shop's own product page, and the customer changed it before paying.

What a pasted button sends

Most payment services let a shop copy a few lines of code for a buy button and paste them into a product page. Those lines are a small form, and the form carries the details of the sale.

The item name, the price, the currency and sometimes the shipping charge sit in fields the visitor never sees. When the button is pressed, the visitor's browser sends those fields to the payment service.

The service charges whatever amount arrives. It has no other record of what the shop meant the price to be.

What anyone can change

A visitor who saves the page can open it in a text editor, change the numbers and press the button from the saved copy.

The browser's own tools allow the same edit without saving anything at all.

The currency change is the easiest to miss. A notice reading 90 with a different currency code looks right at a glance, and may be worth less than a dollar.

Why the notice looks normal

The payment service did its job: it charged the amount it was sent and reported a completed payment. The shop's notice email says paid, and whoever packs orders from those notices sees nothing unusual.

Busy weeks make it worse. When a dozen orders arrive in an hour, the item and the address get read, and the amount gets skimmed.

Buttons stored on the payment service's side

Most payment services also let you create the button inside your account and save it there.

The page then carries only a reference code, and the price lives with the service, where a visitor cannot edit it. Some services offer button code that is locked against changes instead, with the same effect.

Stored buttons also make price changes simpler, since the price is edited once in the account rather than in the code on every page.

Check the amount before anything ships

Whatever kind of button you use, compare the amount received with the price before an order is packed. The payment record shows the amount and currency; the shop's price list shows what they should be.

Make it a written step for whoever packs: item, quantity, amount, currency, shipping. If any of them is wrong, the order waits.

For an order that was clearly altered, refund the payment to the account it came from and send nothing. A short, polite note saying the order could not be filled is enough.

A worked example

A barista training school in Langley runs weekend courses in espresso and latte art for cafe staff and home enthusiasts, and sells course seats and gift certificates through buttons pasted into each course page.

Matching the month's payments against the class lists, its bookkeeper found a seat in a two-day course paid at a few dollars.

The confirmation had gone out automatically, and the student was due the following Saturday.

The school recreated every button inside its payment account, so each page now holds only a reference. Seats are confirmed by hand once the bookkeeper has matched the amount to the course price.

The altered booking was refunded to the account that paid, with a note offering the seat at its real price. With the price held by the payment service, a saved copy of a course page has nothing left to edit.

Going through the old buttons

While replacing buttons, list every one: the page, the item, the price and the currency. Buttons for items no longer sold should go, since they still take payments.

Buttons pasted years ago may also carry prices that no longer match the catalogue. A customer who pays an old price has done nothing wrong, so those orders deserve an apology rather than suspicion.

Then look back through the past few months of payments and compare each with the price at the time. That shows whether anyone has already found the gap.

When a cart is the better answer

Stored buttons close the gap one product at a time. A proper shopping cart closes it for the whole shop, because it works out every total on the server from the shop's own price list.

The browser sends only what was chosen and how many. The cart adds the price, the shipping and any sales tax itself, so nothing in the visitor's hands decides what is charged.

It also keeps one record of each order, which makes the amount check simpler still.

The counter-case

Some buttons are meant to let the customer set the amount. A donation button or a pay-what-you-like ticket invites any figure, and there is no price to protect.

A very small shop that checks every order against its price list before packing already catches altered amounts. The risk there is the busy week when the check gets rushed.

For anything with a fixed price, a button that keeps the price out of the visitor's reach is the sounder setup, and the amount check is what catches anything that gets through.

Closing the gap in the buttons

  1. View the source of one product page.
  2. Look for the price in the button's code.
  3. Recreate each button inside your payment account.
  4. Replace the pasted code with the stored version.
  5. Match every amount to the price before packing.
  6. Refund altered orders to the account that paid.
  7. Plan a proper cart as the range grows.

Step five works whatever else is in place. Buttons can be replaced on a quiet day, but a habit of reading the amount is what stops the box that would otherwise go out the door.

The next step, replacing the buttons with one cart, a single checkout and one record of each order, is the plan in buy now buttons pasted into every product page.


Frequently asked questions

How can a customer change the price of a button?

A pasted button carries the price in the page. Anyone can save the page, edit the number and press the button from the saved copy.

Will the payment service notice the change?

No. It charges the amount it receives and reports a completed payment, because a pasted button gives it no other record of your price.

What is a stored button?

A button you build and save in your account with the payment service. Your page holds just a reference code, so the price cannot be edited from the page.

What should staff check before shipping?

The item, quantity, amount, currency and shipping charge on the payment record, compared with your price list. If anything differs, the order waits.

What do we do with an altered order?

Refund the payment to the account it came from, send nothing, and reply briefly and politely that the order could not be filled.

Do donation buttons need the same care?

Less so, since the giver chooses the amount anyway. Any button with a fixed price, from a kit to a course seat, should keep the price stored.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Payment buttons pasted into your pages?

Ask us to check one product page, and we will show you what its button sends and how to store it safely.

Start a Conversation