This should be a matter of sending a portion of the payment to mozilla. Set the % of the payment that gets split in settings.py so we can change the portion. Split the payament in get_paykey and that should be about it. It should be a chained payment to the amo paypal account.
I think the code is fine and its ready to go. But for some reason PayPal keeps returning internal server error. Hopefully its temporary.