Troubleshooting - PTNUSASATUINTIARTHA-DOKU/WHMCS-DOKU GitHub Wiki

This troubleshooting are intend to

  • DIY to fix an error occured and/or elaborate an error occured
  • Missed some important part configuration
  • Please see our special notes for more details how to report to us

Contents

DOKU Merchant

No Error Messages Description How To Solve
1 Transaction id part not in Dateformat structured. Transaction id tidak valid Transaction id tidak memiliki format tanggal dan waktu
2 Payment Response Status is not Success: FAILED. Response payment failed
3 Words from Redirect-Structured not same with Dokuparams
4 Exception error of date-created from form
5 There is no Transaction-id from IPN Callback as expected
6 InvoiceId Not Found Tidak dapat menemukan order id pada whmcs Harus memasukkan username yang digunakan pada saat login ke WHMCS dengan level account full administration
7 Local API Result not get totalresults of InvoiceData from GetOrders(). Tidak dapat menemukan order id pada whmcs Harus memasukkan username yang digunakan pada saat login ke WHMCS dengan level account full administration
8 STOP: BODY Have no content
9 STOP: POST Method Required
10 STOP: QUERYSTRING Have no content
11 Array or Object return for TRANSIDMERCHANT
12 Not get WORDS string from created notify structured Words berbeda Words notify berbeda dari Words yang di create pada coding
13 Words should be a string
14 Local API Result for GetInvoice() not get proper data as expected Tidak menemukan invoice id pada WHMCS Harus memasukkan username yang digunakan pada saat login ke WHMCS dengan level account full administration
15 Words from Notify-Structured not same with Dokuparams
16 Payment Response Code is Not : 0000 from Payment-Notify Response code tidak 0000 Response code tidak ada 0000 pada saat Notify
17 Payment Response Status is not Success Payment response status tidak sukses
18 Un-Expected Payment-Response-Status Diluar dari ekspetasi response payment
19 Exception Error while render xml format to array Terjadi error pada saat render XML
20 XML Format is not-expected XML format terjadi kesalahan
21 Count payment-status not have an array
22 Redirected from failed payment: Maybe WHMCS Payment-Gateway-Module not activate payment-check status Module payment check status tidak di aktifkan Aktifkan check status pembayaran
23 Exception Error while doing CURL (Maybe curl setopt is not enabled or timedout connection) Terjadi kesalahan pada cUrl atau Timedout koneksi
24 Exception Error while render xml format to array
25 Un-Expected Payment-Response-Status (RESULTMSG should be SUCCESS, VOIDED otherwhise FAILED, this error to handle if not of both)
26 (doku_error): Failed (There is $doku_error while running script, this is final step of all errors collected)

DOKU Account Billing

No Error Messages Description How To Solve
1 Exception error of date-created from format (TRANSIDMERCHANT or BILLNUMBER should be on dateformat+invoiceid)
2 Transaction id part not in Dateformat structured
3 There is no Transaction-id from IPN Callback as expected: #DATETIME#TRANSID.
4 Local API Result not get totalresults of InvoiceData from GetOrders(). Harus memasukkan username yang digunakan pada saat login ke WHMCS dengan level account full administration
5 Not get WORDS string from created notify structured.
6 Words should be a string.
7 Exception error while get system structure for get subscription amount:
8 Not get WORDS string from created get subscription amount
9 Words should be match to get subscription data.
10 Local API Result not get totalresults of InvoiceData from GetOrders(). Tidak dapat menemukan order id pada whmcs Harus memasukkan username yang digunakan pada saat login ke WHMCS dengan level account full administration
11 Words from Notify-Structured not same with Dokuparams
12 Status Type should be G for Notify Register
13 Status Type should be T for Notify Update
14 Payment Response Status is not Success
15 Un-Expected Payment-Response-Status (RESULTMSG should be SUCCESS otherwhise FAILED, this error to handle if not of both)
16 (doku_error): Failed (There is $doku_error while running script, this is final step of all errors collected)

Special Notes

For make more easier to reproduce of your error please follow the step :

  1. Enable the configuration field Use Logger on Transaction Log? (Billing > Gateway Log) on your payment gateway setting on your WHMCS Administration (see picture below)

  1. And go to your Billing > Gateway Log

You will see there the debug data

  1. You may see table with coloumn :
    a. Date

b. Gateway

c. Debug Data

d. Result

for instance of debug data content :

ADDRESS => Jl.JendsudirmanPlazaAsia
AMOUNT => 50000.00
BASKET => CompanyName-Invoice#110,50000.00,1,50000.00
CHAINMERCHANT => NA
CITY => dkijakarta
COUNTRY => ID
CURRENCY => 360
EMAIL => [email protected]
HOMEPHONE => 08124343535
MALLID => 4862
MOBILEPHONE => 08124343535
NAME => aryoprakarsa
PAYMENTTYPE => SALE
PURCHASEAMOUNT => 50000.00
PURCHASECURRENCY => 360
REQUESTDATETIME => 20171116090004
SESSIONID => 5f1f0d0d05acf6ad862962638e3443aa
SHIPPING_ADDRESS => Jl.JendsudirmanPlazaAsia
SHIPPING_CITY => dkijakarta
SHIPPING_COUNTRY => ID
SHIPPING_STATE => JakartaSelatan
SHIPPING_ZIPCODE => 12435
STATE => JakartaSelatan
TRANSIDMERCHANT => 110_20171116090004
WORDS => 22eac06f8cb2bbbfc7fea48d40b66342856b6732
WORKPHONE => 08124343535
ZIPCODE => 12435

For the Result

(WHMCS) REQUEST-PAYMENT

also please inform to us :

  • Your Mall Id
  • What WHMCS Version
  • What kind of issues and/or trouble you faced
  1. Open the issues tab on this github here, Copy and Paste step number 3 above from your side :
    a. Debug data coloumn

b. Result coloumn

c. Mall Id

d. WHMCS Version

e. What errror/issues/trouble you faced

Please do so while you open the issues otherwise it will take too long to solve your issue.