Craftfair Fee Collection

How do we incorporate automated fee collection
into the registration process.
How does it get set up?
What needs to go into our web site code?
Is there a cookbook I can reference?