paid memberships with variable prices

Hello,
we want to open memberships with a variable prices. Users shall freely enter their amount during registration and complete the form then - could you advice how to get there?