symposion_app/vendor/registripe/models.py

16 lines
334 B
Python
Raw Normal View History

2016-09-21 00:24:26 +00:00
from __future__ import unicode_literals
from django.db import models
from registrasion.models import commerce
from pinax.stripe.models import Charge
2016-09-21 00:24:26 +00:00
class StripePayment(commerce.PaymentBase):
charge = models.ForeignKey(Charge)
2017-04-22 09:06:30 +00:00
class StripeCreditNoteRefund(commerce.CreditNoteRefund):
charge = models.ForeignKey(Charge)