Skip to main content

This is a draft (version 0.5.0). The National Information Technology Agency (NITA) plans to make GGDS official guidance for government websites after independent accessibility testing. What this means

Ghana Government Design System Design system for Government of Ghana websites – home Search

Pattern

Take a payment

Take a fee by mobile money or card: say what it is for, let people approve it on their phone, say clearly if it did not work, and give a receipt.

When to use

  • When people pay a fee, a fine, a licence or a renewal as part of a service.

When not to use

  • To ask people to pay into an account and upload proof. Take the payment in the service, so you know at once that it arrived.

How it works

  1. What you are paying: the amount, what it is for and who it is paid to, then how to pay: MTN MoMo, Telecel Cash, AT Money or a bank card.
  2. The number: the mobile money number, prefilled if you have it. Never the PIN.
  3. Approve on your phone: people approve the request on their phone. The page checks by itself, and says what to do if no request arrives.
  4. Paid: a confirmation panel with the receipt number, and the receipt as a summary list they can print or save. Send it by SMS too.
  5. Not paid: a page that says the payment did not go through, that no money was taken, and how to try again.

The amount

  • Write amounts as GH₵ 150.00: the symbol, a space and two decimal places. In sentences, "150 Ghana cedis" reads better for screen readers.
  • If people choose the amount (a donation, paying part of a fine), use a text input with the GH₵ prefix and inputmode="decimal".
  • Show any fee the payment provider charges before people pay, not after.

Mobile money

  • Never ask for a mobile money PIN on a website. People enter it on their phone, where the network asks for it.
  • Say which number the request went to, how long people have to approve it, and that the payment is to your institution by name: that is what the phone will show.
  • If no request arrives, offer to send it again, or to pay another way. Do not ask people to dial a code unless your provider requires it.
  • Do not take the money twice: give each payment a reference, and check it before you send a new request.

Error messages

  • "Your payment did not go through. No money was taken from your account." Then what to do.
  • Too little balance: "There was not enough money in your mobile money account. Top up and try again, or pay another way."
  • Timed out: "You did not approve the payment in time. Try again."

Accessibility

  • When the page checks for the payment by itself, tell screen readers when it changes, and give a button to check now as well.
  • The receipt is text, never only an image, so people can read it aloud, copy it and print it.

Example: What you are paying, and how

Open this example on its own page

HTML code for “What you are paying, and how”
HTML
<a class="ggds-back-link" href="/apply/">Back</a>
<h1>Pay the licence fee</h1>
<dl class="ggds-summary-list">
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Amount</dt>
    <dd class="ggds-summary-list__value"><strong>GH₵ 150.00</strong></dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">For</dt>
    <dd class="ggds-summary-list__value">Canoe fishing licence, 1 year</dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Paid to</dt>
    <dd class="ggds-summary-list__value">Example Fisheries Service</dd>
  </div>
</dl>
<form action="/pay/method/" method="post" novalidate>
  <div class="ggds-field">
    <fieldset class="ggds-fieldset" aria-describedby="pay-method-hint">
      <legend class="ggds-fieldset__legend">How do you want to pay?</legend>
      <p class="ggds-hint" id="pay-method-hint">There is no extra charge for any of these.</p>
      <div class="ggds-choices">
        <div class="ggds-choice"><input class="ggds-choice__input" id="pay-method-mtn" name="method" type="radio" value="mtn"><label class="ggds-choice__label" for="pay-method-mtn">MTN MoMo</label></div>
        <div class="ggds-choice"><input class="ggds-choice__input" id="pay-method-telecel" name="method" type="radio" value="telecel"><label class="ggds-choice__label" for="pay-method-telecel">Telecel Cash</label></div>
        <div class="ggds-choice"><input class="ggds-choice__input" id="pay-method-at" name="method" type="radio" value="at"><label class="ggds-choice__label" for="pay-method-at">AT Money</label></div>
        <div class="ggds-choice"><input class="ggds-choice__input" id="pay-method-card" name="method" type="radio" value="card"><label class="ggds-choice__label" for="pay-method-card">Bank card (Visa or Mastercard)</label></div>
      </div>
    </fieldset>
  </div>
  <button class="ggds-button" type="submit">Continue</button>
</form>
JSX (React)
<>
  <a className="ggds-back-link" href="/apply/">Back</a>
  <h1>Pay the licence fee</h1>
  <dl className="ggds-summary-list">
    <div className="ggds-summary-list__row">
      <dt className="ggds-summary-list__key">Amount</dt>
      <dd className="ggds-summary-list__value"><strong>GH₵ 150.00</strong></dd>
    </div>
    <div className="ggds-summary-list__row">
      <dt className="ggds-summary-list__key">For</dt>
      <dd className="ggds-summary-list__value">Canoe fishing licence, 1 year</dd>
    </div>
    <div className="ggds-summary-list__row">
      <dt className="ggds-summary-list__key">Paid to</dt>
      <dd className="ggds-summary-list__value">Example Fisheries Service</dd>
    </div>
  </dl>
  <form action="/pay/method/" method="post" noValidate>
    <div className="ggds-field">
      <fieldset className="ggds-fieldset" aria-describedby="pay-method-hint">
        <legend className="ggds-fieldset__legend">How do you want to pay?</legend>
        <p className="ggds-hint" id="pay-method-hint">There is no extra charge for any of these.</p>
        <div className="ggds-choices">
          <div className="ggds-choice"><input className="ggds-choice__input" id="pay-method-mtn" name="method" type="radio" value="mtn" /><label className="ggds-choice__label" htmlFor="pay-method-mtn">MTN MoMo</label></div>
          <div className="ggds-choice"><input className="ggds-choice__input" id="pay-method-telecel" name="method" type="radio" value="telecel" /><label className="ggds-choice__label" htmlFor="pay-method-telecel">Telecel Cash</label></div>
          <div className="ggds-choice"><input className="ggds-choice__input" id="pay-method-at" name="method" type="radio" value="at" /><label className="ggds-choice__label" htmlFor="pay-method-at">AT Money</label></div>
          <div className="ggds-choice"><input className="ggds-choice__input" id="pay-method-card" name="method" type="radio" value="card" /><label className="ggds-choice__label" htmlFor="pay-method-card">Bank card (Visa or Mastercard)</label></div>
        </div>
      </fieldset>
    </div>
    <button className="ggds-button" type="submit">Continue</button>
  </form>
</>

Example: The mobile money number

Open this example on its own page

HTML code for “The mobile money number”
HTML
<a class="ggds-back-link" href="/pay/">Back</a>
<form action="/pay/number/" method="post" novalidate>
  <div class="ggds-field">
    <h1><label class="ggds-label ggds-label--page" for="pay-number">What is your MTN MoMo number?</label></h1>
    <p class="ggds-hint" id="pay-number-hint">We will send a request for GH₵ 150.00 to this number. For example, 024 000 0000.</p>
    <input class="ggds-input ggds-input--width-medium" id="pay-number" name="number" type="tel" autocomplete="tel" inputmode="tel" aria-describedby="pay-number-hint" value="024 123 4567">
  </div>
  <button class="ggds-button" type="submit">Pay GH₵ 150.00</button>
</form>
JSX (React)
<>
  <a className="ggds-back-link" href="/pay/">Back</a>
  <form action="/pay/number/" method="post" noValidate>
    <div className="ggds-field">
      <h1><label className="ggds-label ggds-label--page" htmlFor="pay-number">What is your MTN MoMo number?</label></h1>
      <p className="ggds-hint" id="pay-number-hint">We will send a request for GH₵ 150.00 to this number. For example, 024 000 0000.</p>
      <input className="ggds-input ggds-input--width-medium" id="pay-number" name="number" type="tel" autoComplete="tel" inputMode="tel" aria-describedby="pay-number-hint" defaultValue="024 123 4567" />
    </div>
    <button className="ggds-button" type="submit">Pay GH₵ 150.00</button>
  </form>
</>

Example: Approve the payment on your phone

Open this example on its own page

HTML code for “Approve the payment on your phone”
HTML
<h1>Approve the payment on your phone</h1>
<p class="ggds-lead">We have sent a request for <strong>GH₵ 150.00</strong> to <strong>024 123 4567</strong>.</p>
<h2>What to do now</h2>
<ol class="ggds-steps">
  <li class="ggds-steps__item">
    <span class="ggds-steps__icon"><svg class="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z"/></svg></span>
    <h3 class="ggds-steps__title">Check your phone</h3>
    <p>A message from MTN MoMo asks you to pay Example Fisheries Service.</p>
  </li>
  <li class="ggds-steps__item">
    <span class="ggds-steps__icon"><svg class="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="5" y="11" width="14" height="9" rx="1.5"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/></svg></span>
    <h3 class="ggds-steps__title">Enter your PIN on your phone</h3>
    <p>Never type your PIN on a website.</p>
  </li>
  <li class="ggds-steps__item">
    <span class="ggds-steps__icon"><svg class="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m5 12.5 4.5 4.5L19 7"/></svg></span>
    <h3 class="ggds-steps__title">Come back to this page</h3>
    <p>It shows your receipt as soon as the payment arrives.</p>
  </li>
</ol>
<p role="status">Waiting for your payment. You have 5 minutes to approve it.</p>
<form action="/pay/check/" method="post">
  <div class="ggds-button-group">
    <button class="ggds-button" type="submit">I have approved it</button>
    <a href="/pay/resend/">I did not get a request</a>
  </div>
</form>
JSX (React)
<>
  <h1>Approve the payment on your phone</h1>
  <p className="ggds-lead">We have sent a request for <strong>GH₵ 150.00</strong> to <strong>024 123 4567</strong>.</p>
  <h2>What to do now</h2>
  <ol className="ggds-steps">
    <li className="ggds-steps__item">
      <span className="ggds-steps__icon"><svg className="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z" /></svg></span>
      <h3 className="ggds-steps__title">Check your phone</h3>
      <p>A message from MTN MoMo asks you to pay Example Fisheries Service.</p>
    </li>
    <li className="ggds-steps__item">
      <span className="ggds-steps__icon"><svg className="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><rect x="5" y="11" width="14" height="9" rx="1.5" /><path d="M8 11V8a4 4 0 0 1 8 0v3" /></svg></span>
      <h3 className="ggds-steps__title">Enter your PIN on your phone</h3>
      <p>Never type your PIN on a website.</p>
    </li>
    <li className="ggds-steps__item">
      <span className="ggds-steps__icon"><svg className="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="m5 12.5 4.5 4.5L19 7" /></svg></span>
      <h3 className="ggds-steps__title">Come back to this page</h3>
      <p>It shows your receipt as soon as the payment arrives.</p>
    </li>
  </ol>
  <p role="status">Waiting for your payment. You have 5 minutes to approve it.</p>
  <form action="/pay/check/" method="post">
    <div className="ggds-button-group">
      <button className="ggds-button" type="submit">I have approved it</button>
      <a href="/pay/resend/">I did not get a request</a>
    </div>
  </form>
</>

Example: The payment did not go through

Open this example on its own page

HTML code for “The payment did not go through”
HTML
<h1>Your payment did not go through</h1>
<div class="ggds-notice ggds-notice--warning">
  <p class="ggds-notice__title"><span class="ggds-visually-hidden">Warning: </span>No money was taken from your account</p>
  <p>There was not enough money in your mobile money account.</p>
</div>
<p>Top up your account and try again, or pay another way.</p>
<div class="ggds-button-group">
  <a class="ggds-button" href="/pay/">Try again</a>
  <a href="/pay/method/">Pay another way</a>
</div>
JSX (React)
<>
  <h1>Your payment did not go through</h1>
  <div className="ggds-notice ggds-notice--warning">
    <p className="ggds-notice__title"><span className="ggds-visually-hidden">Warning: </span>No money was taken from your account</p>
    <p>There was not enough money in your mobile money account.</p>
  </div>
  <p>Top up your account and try again, or pay another way.</p>
  <div className="ggds-button-group">
    <a className="ggds-button" href="/pay/">Try again</a>
    <a href="/pay/method/">Pay another way</a>
  </div>
</>

Example: Paid, with the receipt

Open this example on its own page

HTML code for “Paid, with the receipt”
HTML
<div class="ggds-panel">
  <h1 class="ggds-panel__title">Payment received</h1>
  <p class="ggds-panel__body">Your receipt number <strong class="ggds-panel__reference">FS-2026-04817</strong></p>
</div>
<p>We have sent your receipt to 024 123 4567 by SMS.</p>
<h2>Your receipt</h2>
<dl class="ggds-summary-list">
  <div class="ggds-summary-list__row"><dt class="ggds-summary-list__key">Amount</dt><dd class="ggds-summary-list__value">GH₵ 150.00</dd></div>
  <div class="ggds-summary-list__row"><dt class="ggds-summary-list__key">For</dt><dd class="ggds-summary-list__value">Canoe fishing licence, 1 year</dd></div>
  <div class="ggds-summary-list__row"><dt class="ggds-summary-list__key">Paid to</dt><dd class="ggds-summary-list__value">Example Fisheries Service</dd></div>
  <div class="ggds-summary-list__row"><dt class="ggds-summary-list__key">Paid with</dt><dd class="ggds-summary-list__value">MTN MoMo, 024 *** 4567</dd></div>
  <div class="ggds-summary-list__row"><dt class="ggds-summary-list__key">Date</dt><dd class="ggds-summary-list__value">14 November 2026, 10:42</dd></div>
</dl>
<h2>What happens next</h2>
<p>We will check your application and tell you our decision by SMS within 5 working days.</p>
JSX (React)
<>
  <div className="ggds-panel">
    <h1 className="ggds-panel__title">Payment received</h1>
    <p className="ggds-panel__body">Your receipt number <strong className="ggds-panel__reference">FS-2026-04817</strong></p>
  </div>
  <p>We have sent your receipt to 024 123 4567 by SMS.</p>
  <h2>Your receipt</h2>
  <dl className="ggds-summary-list">
    <div className="ggds-summary-list__row"><dt className="ggds-summary-list__key">Amount</dt><dd className="ggds-summary-list__value">GH₵ 150.00</dd></div>
    <div className="ggds-summary-list__row"><dt className="ggds-summary-list__key">For</dt><dd className="ggds-summary-list__value">Canoe fishing licence, 1 year</dd></div>
    <div className="ggds-summary-list__row"><dt className="ggds-summary-list__key">Paid to</dt><dd className="ggds-summary-list__value">Example Fisheries Service</dd></div>
    <div className="ggds-summary-list__row"><dt className="ggds-summary-list__key">Paid with</dt><dd className="ggds-summary-list__value">MTN MoMo, 024 *** 4567</dd></div>
    <div className="ggds-summary-list__row"><dt className="ggds-summary-list__key">Date</dt><dd className="ggds-summary-list__value">14 November 2026, 10:42</dd></div>
  </dl>
  <h2>What happens next</h2>
  <p>We will check your application and tell you our decision by SMS within 5 working days.</p>
</>

Components used

  • Summary list

    Questions and answers, or labels and values, as a list, with links to change them. For "Check your answers" pages and records.

  • Radios and checkboxes

    Let people choose one option (radios) or several (checkboxes) from a short list.

  • Text input, textarea, select and file upload

    A single form question with a label, an optional hint and an error message.

  • Notice

    A message box for information, success, a warning or danger, and an urgent notice for the whole site.

  • Confirmation panel

    The top of the page people see when they have finished a task: that it worked, and their reference number.

  • Button

    Buttons do things: submit a form, save, continue.

  • Error summary

    A box at the top of the page that lists every problem after a form is submitted.

Back to top

Something wrong, unclear or missing? Report a problem with this page or suggest a change to it on GitHub. You need a GitHub account.