Tutorial

Integration - OnPay

Integration OnPay features enable you to send WhatsApp Notification for OnPay Order to your customer or seller. Please note that you need to have API & Webhook features at OnPay packages if you want to use this features.

Step 1. Integrations > Onpay

Step 2. Create New List Site

Step 3. Enter Website Detail

  • Choose Active for Status
  • Select Website Logo
  • Insert Website Name
  • Insert Website Link
  • Insert Website Currency

Step 4. API & Webhook Token

At OnPay dashboard, go to “Tetapan > Sistem

Choose API & Webhook tab, copy both Token API & Token Webhook (OnPay dashboard)

Paste both Token API & Token Webhook at List Site (Click4Wasap)

Step 5. Select WhatsApp Senders

If you select multiple number, it will automatically rotate to send the WhatsApp Notification.

Please SAVE if done.

Step 6. WEBHOOK URL

Copy webhook url at list site

Go to “Senarai > Borang” , click “kemaskini” on form that you want (OnPay dashboard)

  • Choose webhook tab
  • Paste webhook URL
  • Tick related “aktiviti”
  • Click on “Simpan Borang”

Step 7. Create Dummy Order at OnPay

Step 8. Check List Incoming

You will get a data at List Incoming if your setting is correct after dummy order was placed.

If you have multiple website / form, you can view Incoming List at List Site so that you will only view that website / form incoming list only.

Step 9. Copy Variable

At Incoming List, click View at Variable to get all the variables available for your OnPay form / site.

Example:

“client-full-name” : “Admin”

  • “client-full-name” – is your variable
  • “Admin” – is “client-full-name” data
  • change “client-full-name” into [client-full-name]

Please use [ ] for all your variable at List Template Caption.

“client-full-name” —-> [client-full-name]

Step 10. List Template

Integrations > OnPay > List Template>Add New Template

Fill in the detail needed

  • Choose suitable event
  • You can sent either to your Customer or Seller / Staff
  • Choose Order status

You can insert variable at Text & Media Caption.

You can choose to send the notification Instantly or delay it (Follow Up)

Step 11. Create Dummy Order again at OnPay

Make a dummy order again to check your setup

Step 12. List Outgoing

You will get a data at List Incoming & List Outgoing (Must setup List Template) if your setting is correct after dummy order was placed.

You can check at RESPONSE for the reason if your status is FAIL.