zhutik / adyen-api-go

[Deprecated] Adyen API Library for GO
https://godoc.org/github.com/zhutik/adyen-api-go
MIT License
22 stars 12 forks source link

AdditionalData for request does not have enough fields. #45

Closed codingconcepts closed 6 years ago

codingconcepts commented 6 years ago

From the Adyen docs, you can see that there are many different bits of information that can come back in a payment response: https://docs.adyen.com/developers/api-reference/payments-api#paymentresultadditionaldata.

In the AdditionalData of this library, there are only three assignable fields (because A) the input AdditionalData only supports a narrow subset of behaviour and B) the AdditionalData request struct is being reused for the response.