diff options
Diffstat (limited to 'postgresqleu/adyen/util.py')
-rw-r--r-- | postgresqleu/adyen/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/adyen/util.py b/postgresqleu/adyen/util.py index 6f68af20..5a70d964 100644 --- a/postgresqleu/adyen/util.py +++ b/postgresqleu/adyen/util.py @@ -248,7 +248,7 @@ def process_raw_adyen_notification(raw, POST): # a transactional context, as it manages it's own. # Now open a transaction for actually processing what we get - with transaction.commit_on_success(): + with transaction.atomic(): # Set it to confirmed - if we were unable to process the RAW one, # this will be rolled back by the transaction, and that's the only # thing that htis flag means. Anything else is handled by the |