1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-05 10:02:47 -05:00

bitpay ipn for processing credits

This commit is contained in:
Kyle Spearrin
2019-02-22 08:49:11 -05:00
parent c0e9d95538
commit 4c84eeca5b
4 changed files with 152 additions and 11 deletions

View File

@ -206,7 +206,8 @@ namespace Bit.Billing.Controllers
if(ipnTransaction.McCurrency != "USD")
{
return new BadRequestResult();
// Only process USD payments
return new OkResult();
}
var ids = ipnTransaction.GetIdsFromCustom();