Discount 16% Promo Code : 8POINT8PROMO

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.

Play Video

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 and use at template.

 

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.

Runs

  • Multiple Times – Template will be always sent if status trigger
  • Once – Template will be sent once only

Time Send

  • Instant – Template will be sent instantly
  • Custom – Template will be sent after custom time (Follow Up)

Recheck Order Status

  • No – C4W will send this template message after the “Time Send” set regardless of the order status at that time
    Yes – After the “Time Send” set, C4W will “Recheck” the order status again. Message will not be sent if the order status has changed

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.