Skip to content

Conversation

mij
Copy link

@mij mij commented Aug 15, 2013

Indicate the datetime format of all DateTimeFields so they can be correctly parsed. This change is made in particular for retry_at. When users create a subscription which later fails an instalment, paypal issues an IPN event with txn_type='subscr_failed' which indicates the date of the next attempt. This event failed parsing by django-paypal, and gets stored into the database with raw content and a flag. This fixes the issue.

Indicate the datetime format of all DateTimeFields so they can be correctly parsed. This change is made in particular for retry_at. When users create a subscription which later fails an instalment, paypal issues an IPN event with txn_type='subscr_failed' which indicates the date of the next attempt. This event failed parsing by django-paypal, and gets stored into the database with raw content and a flag. This fixes the issue.
@spookylukey
Copy link
Collaborator

I would merge this if it had a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants