In my last post I discussed setting up a Payment Form in Django for entering credit card information. Here is how I tied it in on the back-end to integrate with Recurly for the recurring payments on getpropeller.
I added the following to a file called subscriptions.py and added it to one of my Django Apps. It provides a light wrapper around the Recurly Python library.
class SubscriptionManager: """ A class that handles the subscriptions on Propeller """ def __init__(self, company):