Skip to content

Upgrade Checkout-Example to use V34.0.0 of the Adyen .NET Library#164

Open
Kwok-he-Chu wants to merge 11 commits intoadyen-examples:mainfrom
Kwok-he-Chu:upgrade-to-v34-adyen-dotnet-library
Open

Upgrade Checkout-Example to use V34.0.0 of the Adyen .NET Library#164
Kwok-he-Chu wants to merge 11 commits intoadyen-examples:mainfrom
Kwok-he-Chu:upgrade-to-v34-adyen-dotnet-library

Conversation

@Kwok-he-Chu
Copy link
Contributor

  • Upgraded /sessions to the latest Adyen.Web V6.28.0
  • Upgraded Adyen .NET Library to V34.0.0

public static IHostBuilder CreateHostBuilder(string[] args)
{
return Host.CreateDefaultBuilder(args)
.ConfigureCheckout(((context, services, config) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IHostBuilder extension anchor

services.AddScoped<IPaymentsService, PaymentsService>()
.AddHttpClient<IPaymentsService, PaymentsService>();
//.AddDefaultLogger();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anchor - Three options to inject your services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant