I want to know that if I cancel an order will the buyer have authority to give me rating or review
That’s called mutual cancel. You send the cancel request then It’s ok. I did it before and no ratings problem.
If you want to cancel an order, you have to submit a dispute through the resolution center.
If the buyer chooses to accept that dispute, then the order will be cancelled and the buyer can’t submit a review!