We now offer a flexible option to allow races to give a discount based on a donation.
This example setup offers different discounts for different races and different levels of donation:

You can highlight this on the donation page:

The discount is clearly applied in the checkout:
