Add a new Pay Button Type : Custom amount

This commit is contained in:
Ludovic
2019-04-03 21:43:53 +02:00
parent 05da63f2a5
commit 184c797b0e
4 changed files with 63 additions and 27 deletions

View File

@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.ModelBinders;
using Microsoft.AspNetCore.Mvc;
@@ -18,6 +15,7 @@ namespace BTCPayServer.Models.StoreViewModels
public string CheckoutDesc { get; set; }
public string OrderId { get; set; }
public int ButtonSize { get; set; }
public int ButtonType { get; set; }
[Url]
public string ServerIpn { get; set; }
[Url]