danibram / trustly-client

A node client to comunicate with trustly.
https://github.com/danibram/trustly-client
MIT License
6 stars 8 forks source link

fix(notification-response): Add 'FAILED' response #39

Closed zappen999 closed 4 years ago

zappen999 commented 4 years ago

On Trustly debit notification calls (when end-user's account should be decreased), we have the opportunity to respond with 'FAILED' status instead of 'OK'. This is needed in deposit cases where it's not possible to decrease/take back the end-user's credits in the merchant system (in my case, take back giftcard code).

https://trustly.com/en/developer/api/#/debit

danibram commented 4 years ago

Fixed in v3.1.2! Thanks !! 🎉

zappen999 commented 4 years ago

@danibram would you mind making a new build and publish to npm? :pray:

danibram commented 4 years ago

@zappen999 Im sorry, I published 3.1.2 with old sources... Now 3.1.3 should include the changes!

zappen999 commented 4 years ago

@danibram Thanks! :+1: :100: