If you accidentally buy a fund in Alipay, you can contact Alipay customer service, explain the situation and ask for assistance in canceling the transaction. The customer service staff will help you complete the cancellation process, or you can contact the company that purchased the fund, explain the situation to its customer service staff and ask for assistance in canceling the transaction and returning the money purchased from the fund.