i want to hide the "Securely save my information for 1-click checkout" while doing payment by stripe embedded checkout, in javascript and .net.
i tried to off some setting from stripe portal account, but it's not work for me.
What I have tried:
var options = new SessionCreateOptions
{
UiMode = model.UiMode,
LineItems = new List<SessionLineItemOptions>(),
ClientReferenceId = "123456",
Mode = model.Mode,
CustomerEmail = model.Email,
};
foreach (var item in model.LineItems)
{
var stripeLineItem = new SessionLineItemOptions
{
PriceData = new SessionLineItemPriceDataOptions
{
UnitAmountDecimal = (item.UnitAmount / item.Quantity) * 100,
Currency = item.Currency,
ProductData = new SessionLineItemPriceDataProductDataOptions
{
Name = item.Name,
Description = model.TransactionId.ToString()
},
},
Quantity = item.Quantity,
};
options.LineItems.Add(stripeLineItem);
}
var service = new SessionService();
Session session = service.Create(options);