Naateq
  1. Home
  2. Learning Centre
  3. Money
  4. Activating a payment gateway with its fields named the way it names them

Activating a payment gateway with its fields named the way it names them

Every gateway names its keys in its own way. Where to find each key, and the difference between a test key and a live key.

Money · 7 min read

The dashboard is in development.

This lesson shows how the dashboard will work once it reaches subscribers. Until then we handle the setup for you, and you get escalation and payment alerts on your WhatsApp plus a monthly report.

The Payment gateways screen in the Naateq dashboard: Moyasar, Paylink and Tap, each with an activation switch and credential fields under their correct names.
The fields use the exact names from each gateway's documentation, so copy and paste works the first time.

Open this screen in demo mode

Every Saudi payment gateway has its own names for its keys, and asks for a different number of them. The Gateways screen labels the fields with the exact names from the gateway's documentation, so copy and paste works the first time.

Here you'll learn where to find each gateway's keys, the difference between a test key and a live key, and why the system can't set an amount on its own.

Always start with test

Enable the gateway with the test key, issue a link, and open it yourself. Then switch to the live key.

Keys

Exactly what each gateway asks for

Credential fields per payment gateway
GatewayFieldsNote
MoyasarSecret keyOne field you paste as is
PaylinkapiId and secretKeyYou paste both as they are, and the system handles the rest
TapSecret keySTC Pay also goes through it as a payment method

The other Saudi gateways appear on the screen with how each one works, so you know what to expect, and we connect them when you ask for them.

Activation

Five steps to your first working link

  1. 1
    Open the gateway's dashboard and copy the test keys.

    You'll usually find them under “Developers” or “API keys”. Note: some gateways show the secret key only once.

  2. 2
    Paste them into the gateway's row and enable the key.

    The fields are labeled with their original names, so there's no guessing.

  3. 3
    Approve a test contract.

    Don't issue the link manually. Let it go out after approval, the way it will with your customers, because that's what you're testing.

  4. 4
    Open the link on your phone.

    And check that the amount, description and your business name appear the way you want your customer to see them.

  5. 5
    Switch to the live key.

    The system will ask for an explicit confirmation before saving it, because links after that charge customers' cards.

Protecting the amount

The system can't write an amount into a link

This is the most important point here. There's no command in the system like “create a payment link for this amount” that AI can carry out. The amount comes from the payment schedule of the contract you approved, and the link message is written and sent by the system without AI.

The reason is that if AI could set the amount, one crafty message from a customer would be enough to issue a link for SAR 1 on a SAR 20,000 contract.

And a payment is never recorded based on a message.

A customer saying “I've transferred it” isn't enough, and neither is a photo of the receipt. The payment is recorded when the gateway itself confirms it, and then the system checks with the gateway a second time before recording it.

What happens next is covered in tracking payments.

Frequently asked

What's the difference between a test key and a live key?

A test key produces payment links that look real but don't charge a single riyal, and that's what you test with. A live key charges the customer's card, so the system asks for an explicit confirmation before saving it.

Can the system decide the amount itself?

No. The amount is taken from the payment schedule of the contract you approved, and the link message is written by the system from a fixed template, so nothing said in the conversation can change the amount.

Next lesson

All Learning Centre lessons