Created
September 20, 2013 08:27
-
-
Save willcalderbank/6634716 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AdyenNotifcation(): | |
| event_code = models.CharField( | |
| max_length=30, blank=True, null=True, | |
| ) | |
| created_on = models.DateTimeField( | |
| default=datetime.datetime.utcnow, | |
| help_text=_('Date and time the notification was created in UTC.') | |
| ) | |
| original_transaction = models.ForeignKey( | |
| AdyenTransaction, blank=True, null=True, | |
| help_text=_('The Transaction the notification belongs to.') | |
| ) | |
| psp_reference = models.CharField( | |
| max_length=20, blank=True, null=True, | |
| help_text=_("Adyen's transaction reference.") | |
| ) | |
| is_successful = models.BooleanField( | |
| default=False, | |
| help_text=_( | |
| "Is the notification notifying us of a successful transaction" | |
| ) | |
| ) | |
| response = JSONField(blank=True, help_text=_('Ayden Notification')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment