Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Add createdAt custom field to Payone notifications #147

Open
1 task
andrii-kovalenko-ct opened this issue Apr 4, 2017 · 0 comments
Open
1 task

Add createdAt custom field to Payone notifications #147

andrii-kovalenko-ct opened this issue Apr 4, 2017 · 0 comments
Milestone

Comments

@andrii-kovalenko-ct
Copy link
Contributor

Now the notifications are stored like this:

"fields": {
            "timestamp": "2017-03-20T15:25:32Z",
            "txAction": "paid",
            "sequenceNumber": "0",
            "notification": "Notification{accessid='null', productid='null', price='53.95', sequencenumber='0', reference='814910', txid='219140063', country='DE', userid='98411182', currency='EUR', txtime='1490023532', clearingtype='vor', mode='live', transactionStatus=null, txaction=PAID}"
          }

where timestamp is a Date reflection of txtime Unix timestamp. But the txtime is just a time where the initial transaction had been created (Initiating payment process (Unix timestamp))

To follow and investigate notifications lifecycle we should store the notification receive time, so:

  • Expand PAYONE_INTERACTION_NOTIFICATION CTP Type - add new field like:
    {
        "name": "createdAt",
        "label": {
            "en": "createdAt"
        },
        "required": true,
        "type": {
            "name": "DateTime"
         },
         "inputHint": "SingleLine"
     }
@andrii-kovalenko-ct andrii-kovalenko-ct self-assigned this Apr 4, 2017
@andrii-kovalenko-ct andrii-kovalenko-ct added this to the v2.2.0 - fix amount edge cases milestone Sep 15, 2017
@salander85 salander85 added jira This issue has an associated Jira task good first issue labels Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants