-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi,
I am getting the following error from the application: after updating to net9.
The name 'Events' does not exist in the current context : Payment Service: Line 86
| if (stripeEvent.Type == Events.CheckoutSessionCompleted) |
I believe it's now a string and should be "checkout.session.completed"
My solution is the following:
I created a constatnt for this in Infrastructure.
namespace BlazorEcommerce.Domain.Events
{
public static class Events
{
public const string CheckoutSessionCompleted= "checkout.session.completed";
}
}
Metadata
Metadata
Assignees
Labels
No labels