Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
The Quote Service class in the Client project doesn't currently add product attributes when getting a quote for a list of basket items.
This will cause a 400 response from the Prodigi Print API for a product where attributes are required - such as canvas prints, where the edge wrap must be specified.
The attributes/options are now being added to the basket state from the PhotoDetails page, so it's just a case of extracting them from the basket items and adding them to each CreateQuoteItemDto object created.
The Quote Service class in the Client project doesn't currently add product attributes when getting a quote for a list of basket items.
This will cause a 400 response from the Prodigi Print API for a product where attributes are required - such as canvas prints, where the edge wrap must be specified.
The attributes/options are now being added to the basket state from the PhotoDetails page, so it's just a case of extracting them from the basket items and adding them to each CreateQuoteItemDto object created.