Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
473 B
1
Indexable
Never
                    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"