-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi,
when GET is invoked it seems to return card details (cardInfo) when payment is done via Create, however, if I proceed via Pay and add card then I don't see these details. What's the reason given it's the same underlying system (Payment Highway)?
Also what is the suggestion for uniquely identifying the card for each transaction? Aforementioned GET seems to return 3 fields as card details (are partialPan and bin unique enough? are they always returned?), but token (card) payments return way more useful details. Currently for card payments we use Payment Highway directly and I'm storing card and pan fingerprints which are helpful for certain customer support cases.
IMHO, GET should aggregate and return full details regardless of how payment was done and, say, possibly group extra details per underlying provider, i.e. for creditcard that was processed using Payment Highway there could be an object that contains PaymentHighway specific details and the root object, in addition to current common properties, can have a type property indicating which underlying operator was used. If tomorrow Paytrail acquires another card payment operator their transaction details will differ to some extent, but this way you would be able to accommodate both in a single response DTO. I guess you get the idea: harmonize data per provider and/or underlying system and in response DTOs, don't conceal useful details such as card related fingerprints.
Thank you!