If you're running an event with 'pay what you want' pricing, you can offer this easily using ticket types.
Create your event.
Create a ticket type for each suggested ticket price.
Publish and share your event.
💡 If you are putting on a charity or fundraising event, you may also want to add the option to add a donation.