Skip to content

Hash Ticket (Deposit USDT)

Setup

  • Hash ticket come from whatsapp as an incoming message on specific chat.
  • To enable creation of Hash tickets in sepcific chat, just enable is hash ticketing system enabled option in chat settings.

alt text

Creation

  • Come from whatsapp as an incoming message.
  • The incomming message considered as hash_ticket if it's containing a hash.
TRC20

Entity: Sechelles

Account Number:3540244

Name: Chunhai Gu

Amount: 30,000

Hash:e516c79e1b9a7f7aca471404183f54e238f5ac54ddc10c5388ff6a6a30c9c731

Validation

This message subject to couple of checks:

  • Missed value check: Fails if one of those attributes missed (entity, account number, name, amount).
  • Duplication check: Fails if one of those attributes duplicated (hash, entity, account number, name, amount).
  • Invalid hash check: Fails if the hash is invalid.
  • Invalid amount check: Fails if the hash is valid but the amount passed in the message not match the amount of the transaction.
  • Invalid entity check: Fails if the entity value not one of the operating unit shortcuts.

  • To enable validation messages, you have to enable is direct hash execution enabled option in chat settings.

alt text

Process

Approve

After pass all checks, the ticket will be routed to specific employees to process it based on routing system.

alt text{: style="width:300px"}

Four things to mention here:

  1. The ticket has not RF yet.
  2. Fields like (name, account number) can be edited.
  3. Confirm the field value at the end.
  4. After confirm all editable fields a new button will appear say "Approve & Send", click it to approve the ticket.

When approve the ticket, the approve handler specified for this type of tickets (hash_ticket) will run.

Approve handler of hash_ticket contain these steps:

  1. Send ticket to odoo and get an RF.
  2. Redirect it to custom chats with custom template based on routing system.
  3. Reply on the original hash message with a report like that
RF/37042
🔴🔴🔴
Seychelles
USDT
30,000.00

Apply

The ticket can be applied from the ticketing page by the employee.

alt text{: style="width:300px"}

Or by reply on the ticket report with the word applied

alt text

Direct Execution

  • You can setup specific chat to execute hash tickets directly (auto approve & apply) by enable is direct hash execution enabled option in chat settings.

alt text

!!! warning Notice that you have to turn off the is hash ticketing system enabled option when you use direct execution.