CyberSource/cybersource-rest-samples-csharp

Issue with Configuration().GetConfiguration()

igorperisic opened this issue · 0 comments

I'm currently trying out the code for "Create a Customer Payment Instrument" and I am getting an error on this line

var configDictionary = new Configuration().GetConfiguration(); error is "The type or namespace 'Configuration' could not be found".

Quick fix shows me to add one of these two Using statements: using CyberSource.Client; or using CyberSource.Clients;.
This gives me another error - 'Configuration' does not contain a definition for 'GetConfiguration' and no accessible extension method 'GetConfiguration' accepting a first argument of type 'Configuration' could not be found."

Not sure what to do to fix it. I would appreciate any advice!