I'm new to Balanced Payments and jquery, and relativley new to Django. Anyway, I'm trying to understand how to setup buyer and merchant Balanced Payment accounts using Django forms and the balanced.js and examples/doc provided by Balanced Payments. However, I don't quite understand what's validating what. I thought that the form used jquery to interface with Balanced Payments to validate the data before allowing the form to be submitted, but now I realize that the form is submitted somehow to Balanced Payments, which then calls the javascript callback function, which then needs to process the submit action based on the results from Balanced Payments. 

Anyway, has anyone does this already? A working example would be incredibly helpful -- more helpful than trying to piece things together from the various docs.

The Python docs for settting up Balanced Payments buyer accounts are here: <https://www.balancedpayments.com/docs/python/buyer>

And someone posted the example HTML & javascript here:
<https://gist.github.com/2662770>

Thanks!