mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
remove paybuttontest
This commit is contained in:
@@ -137,9 +137,6 @@
|
|||||||
<Content Update="Views\Public\PayButtonHandle.cshtml">
|
<Content Update="Views\Public\PayButtonHandle.cshtml">
|
||||||
<Pack>$(IncludeRazorContentInPack)</Pack>
|
<Pack>$(IncludeRazorContentInPack)</Pack>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Update="Views\Public\PayButtonTest.cshtml">
|
|
||||||
<Pack>$(IncludeRazorContentInPack)</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Update="Views\Server\LNDGRPCServices.cshtml">
|
<Content Update="Views\Server\LNDGRPCServices.cshtml">
|
||||||
<Pack>$(IncludeRazorContentInPack)</Pack>
|
<Pack>$(IncludeRazorContentInPack)</Pack>
|
||||||
</Content>
|
</Content>
|
||||||
|
|||||||
@@ -57,12 +57,5 @@ namespace BTCPayServer.Controllers
|
|||||||
}, store, HttpContext.Request.GetAbsoluteRoot());
|
}, store, HttpContext.Request.GetAbsoluteRoot());
|
||||||
return Redirect(invoice.Data.Url);
|
return Redirect(invoice.Data.Url);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet]
|
|
||||||
[Route("/paybuttontest")]
|
|
||||||
public IActionResult PayButtonTest()
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
<section>
|
|
||||||
<div class="container" id="payButtonCtrl">
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
<form method="POST" action="http://127.0.0.1:14142/pay/9Jy2oFziB7ZPGHVHTBun2VMyvnBz6GELbpxPeJbSfQDw">
|
|
||||||
<input type="hidden" name="price" value="10" />
|
|
||||||
<input type="hidden" name="currency" value="USD" />
|
|
||||||
<input type="image" src="http://127.0.0.1:14142/img/paybutton/pay.png" name="submit" style="width:209px" alt="Pay with BtcPay, Self-Hosted Bitcoin Payment Processor">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
Reference in New Issue
Block a user