mirror of
https://github.com/bitwarden/server
synced 2025-12-14 15:23:42 +00:00
support credit purchases and prorated upgrades
This commit is contained in:
@@ -550,7 +550,7 @@ namespace Bit.Core.Services
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!signup.PaymentMethodType.HasValue)
|
||||
if(!signup.PaymentMethodType.HasValue && !string.IsNullOrWhiteSpace(signup.PaymentToken))
|
||||
{
|
||||
if(signup.PaymentToken.StartsWith("btok_"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user