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

setup: process paypal with stripe subscription

This commit is contained in:
Kyle Spearrin
2019-01-29 13:12:11 -05:00
parent 54c6ffeece
commit e54a381dba
8 changed files with 157 additions and 20 deletions

View File

@ -78,7 +78,7 @@ namespace Bit.Api.Controllers
if(!_globalSettings.SelfHosted && organization.Gateway != null)
{
var paymentService = new StripePaymentService();
var paymentService = new StripePaymentService(_globalSettings);
var billingInfo = await paymentService.GetBillingAsync(organization);
if(billingInfo == null)
{