mirumee/satchless — pull request #124 by brew (2012-11-01 10:15:20+00:00)
Title: Fix to get Stripe Provider working

This is just enough to get the contrib Stripe payment provider working again, as it was missed during recent Satchless refactors. To use, write your own provider and receipt classes. Subclass `StripeProvider`, providing a `payment_class`. Subclass `StripeReceipt`, providing an `order`. eg:

```python
# mypayments/__init__.py

from satchless.contrib.payment.stripe_provider import StripeProvider
from . import models

class PaymentsProvider(StripeProvider):
payment_class = models.Receipt

# mypayments/models.py

from django.db import models
from satchless.contrib.payment.stripe_provider.models import StripeReceipt
from ..orders.app import order_app

class Receipt(StripeReceipt):
order = models.OneToOneField(order_app.Order, related_name='receipt')

```