Untitled

 avatar
unknown
plain_text
2 years ago
473 B
2
Indexable
                    treatment = data_ticket.get("Treatment")
                    status_query = "fail_transaction"
                    if treatment:
                        if re.search("\\b(gd thành công)\\b", treatment, re.IGNORECASE):
                            status_query = "success_transaction"
                        if re.search("\\b(gd đã được hoàn tiền)\\b", treatment, re.IGNORECASE):
                            status_query = "refund_transaction"