mardi 11 mai 2021

How can I store multiple dynamic products in stripe checkout webforms (ASP.NET C#) I tried a lot but static it's worked but dynamic not?

here is the code:- static I used its worked fine.. how can I store product dynamically in using asp.net c#

 LineItems = new List<SessionLineItemOptions>
  {       
    new SessionLineItemOptions
    {
       Name="Prodduct name",
        Currency="cad",
      Amount =500*100,
      Quantity = 1,
    },
   new SessionLineItemOptions
    {
       Name="Prodduct name",
        Currency="cad",
      Amount =500*100,
      Quantity = 1,
    },
  },



Aucun commentaire:

Enregistrer un commentaire