Changeset 12756 for main


Ignore:
Timestamp:
12 Mar 2015, 22:18:07 (10 years ago)
Author:
Henrik Bettermann
Message:

Set payment date.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/demo_provider.py

    r12752 r12756  
    173173        payed_item = find_payable_from_payable_id(payable_id)
    174174        self.context.state = STATE_PAID
     175        self.context.payment_date = datetime.datetime.utcnow()
    175176        notify(PaymentFinishedEvent(self.context))
    176177        self.redirect(self.url(payed_item))
Note: See TracChangeset for help on using the changeset viewer.