Type and Action field must have
Type : user, settings, product, order, customer
Action : login, forgot-password, register, notification, support-list, support-email, list, add-to-cart, checkout, select, update, request, payment-status, payment-status-select
Sample Form : User Login * After successful login, must keep ( All User array key ) into cookies or whatelse for after login purpose. Forgot Password * After successful forgot, system will send a link to dealer to verify. Register * After successful forgot, system will send a link to dealer to verify. Dashboard Notification * Notification board, after successful login, direct go to this page. Support List * List all dms support team email. Support Email * Email to dms support team. Product List * List all product list. Order Add To Cart * Add item into cart. Order Checkout * Checkout after add to cart. Order List * List all order for this dealer purchase. Tracking * Get tracking code by selected order Payment Upload * Upload payment slip for selected order. Payment Select * Return current order payment status. Dealer Profile * Select this dealer details Dealer Update * Update details Dealer Submit Business Details * Submit form Business Details Shipping List * List all shipping by selected dealer Primary Shipping * Set current shipping address as a default shipping address New Shipping * Add new shipping address by selected dealer Remove Shipping * Remove shipping address by selected dealer Postcode * Check postcode
Before Login
User - Login with user account (* Username & Password) (Back)
Result Message
1. failed : Sorry, something error, please try again later!
2. failed-value : Please enter your username and password!
3. failed-username : Invalid username or password!
4. failed-token failed-verify : Sorry, please provide correct verify code!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. success-login : Welcome back.
Result Message
1. failed-value : Please enter all required field!
2. failed-email : Sorry, email doesn't exists!
3. failed-forgot : Sorry, failed to submit your request, please try again later!
4. success-forgot : Please check your email to reset your account password!
Result Message
1. failed-value : Please enter all required field!
2. failed-email : Sorry, email doesn't exists!
3. failed-forgot : Sorry, failed to submit your request, please try again later!
4. success-forgot : Please check your email to reset your account password!
Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below:
Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.
* Product columns return via Product list
* Product input name quantity[1], 1 mean ProductID
* Each product has return their own minimum order quantity, show out only, give dealer know his must order more than that quantity.
* Each product has return their own price, system need temp sum the total ( quantity * price ), show out only, give dealer know how much his order now.
* If submit and success result, will go through checkout page.
Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below:
Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.
* After successful add to cart, will list dealer order information, include Gst, Grand Total and So on.
Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below:
Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.
* Show ( SoNumber, InvNumber, OrderDate, InvDate, PaymentStatus, OrderStatus, Amount, Remark ) in list only.
* Dealer can search and sortable their order list, let in empty, if nothing request
Tracking - Get current order tracking order information (Back)
Result Message
1. failed : Waiting updated
2. sucess-select : After success, set a webview, and link to check-tracking.php?ref_number=8588239284 to trace tracking status, 8588239284 is RefNumber, return from array key.
Payment Upload - Upload payment for selected order (Back)
Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below:
Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.
* only PaymentStatus with unpaid status can submit upload this form.
* This upload form need submit 2 times, all in same link, but only different is Upload Form value, tick yes first to upload file only, after return result success-upload result and keep the return key new_image into business_details input value, and change the Upload Form input value to no, and resubmit the form again, to keep the request into database.
Payment Select - Return current order payment status. (Back)
Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below:
Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.
* This function is for dealer check his order payment details.
Dealer - Select Dealer From Selected CustomerID (Back)
Result Message
1. failed-value : Please enter all required field!
2. failed-distributor : Please update your distributor, please created new order!
3. failed-customer : Sorry, selected dealer doesn't exsits!
4. failed-image : Sorry, system doesn't detect any image!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. failed-image-type : Sorry, support zip format type only!
7. failed-insert : Sorry, dealer failed to insert!
8. failed-email-format : Sorry, wrong email format type!
9. failed-email-exists : Sorry, email already exist, please try another one.
10. failed-username-length : Sorry, min length of username is 4.
11. failed-username-exists : Sorry, username already exist, please try another one.
12. failed-password-length : Sorry, min length of password is 6.
13. failed-password-retype : Sorry, retype password must be same as new password.
14. failed-update : Sorry, dealer failed to update!
15. success-insert : Thank you, new customer has been added.
16. success-update : Thank you, customer details has been updated.
Result Message
1. failed-value : Please enter all required field!
2. failed-distributor : Please update your distributor, please created new order!
3. failed-customer : Sorry, selected dealer doesn't exsits!
4. failed-image : Sorry, system doesn't detect any image!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. failed-image-type : Sorry, support zip format type only!
7. failed-insert : Sorry, dealer failed to insert!
8. failed-email-format : Sorry, wrong email format type!
9. failed-email-exists : Sorry, email already exist, please try another one.
10. failed-username-length : Sorry, min length of username is 4.
11. failed-username-exists : Sorry, username already exist, please try another one.
12. failed-password-length : Sorry, min length of password is 6.
13. failed-password-retype : Sorry, retype password must be same as new password.
14. failed-update : Sorry, dealer failed to update!
15. success-insert : Thank you, new customer has been added.
16. success-update : Thank you, customer details has been updated.
* Dealer only can update ( Email, Password, Mobile, Whatsapp ) only.
Shipping - List all shipping address for selected dealer (Back)
Result Message
1. This list only need to check the total shipping address, if less than 5, allow to create new shipping address
* Return result array maybe some confuse, so I explain here: return key ( result, content, total ) is for shipping only, and return key ( result_state, content_state ) is for state only
Primary Shipping - Set current shipping address as a primary address for selected dealer (Back)
Result Message
* Click to set selected address as a primary address
New Shipping - Create new shipping address for selected dealer (Back)
Result Message
1. failed-postcode : The postcode is not correct!
2. failed-shipping-limit : Sorry, maximum of shipping address if 5 only!
3. failed-shipping-new : Sorry, shipping address failed to insert!
4. success-shipping-add : Thank you, new shipping address has been added.
Remove Shipping - Remove shipping address for selected dealer (Back)
Result Message
1. failed-shipping-remove : Sorry, failed to remove selected shipping address, please try again later!
2. success-shipping-remove : Thank you, selected shipping address has been removed.
Postcode - Check postcode exists or not, only exists postcode can submit (Back)
Result Message
1. failed-postcode : The postcode is not correct!
2. success : No need any message, but need auto fill in City and State