CyberSource / cybersource-rest-client-dotnet

.NET client library for the CyberSource REST API
Other
19 stars 44 forks source link

Ptsv2creditsProcessingInformation is missing a field for RefundOptions #127

Open m-sco opened 2 years ago

m-sco commented 2 years ago

Hi,

According to accepting-payments/M19-payouts.pdf (section 5.5 "Important Request Fields") , in order to process some MasterCard payouts using the CreditApi we need to supply a POW (payment of winnings) flag under this structure :

processingInformation : refundOptions : reason

Without this field the .net REST API cannot complete payouts to MasterCard under certain conditions.

The field and resulting JSON is supported server-side, it's just not included in the REST API here.

If possible, can this be supported? It would need to sit under the Ptsv2creditsProcessingInformation class.

Many thanks,

wrightsonm commented 2 years ago

I raised this as an issue on 14/5/2021 (not on github, but by email) We maintain a private fork of this repo whilst we are waiting for Cybersource to implement a permanent fix.

wrightsonm commented 9 months ago

refundOptions has just appeared in the dotnetstandard version in this changeset:

https://github.com/CyberSource/cybersource-rest-client-dotnetstandard/pull/76/commits/7cf7d40ee84eb6c0a1c15474a6241b468f684e5a#diff-2facd686175b8753ed48f0d6f6e39ffb1ed967415a0f8ee1b8dae4f8ba076260