Skip to content

fix subscr_failed IPN events not being accepted#29

Open
mij wants to merge 1 commit into
dcramer:masterfrom
mij:patch-1
Open

fix subscr_failed IPN events not being accepted#29
mij wants to merge 1 commit into
dcramer:masterfrom
mij:patch-1

Conversation

@mij

@mij mij commented Aug 15, 2013

Copy link
Copy Markdown

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
Copy Markdown
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