1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -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

@ -95,7 +95,7 @@ namespace Bit.Core.Models.Table
switch(Gateway)
{
case GatewayType.Stripe:
paymentService = new StripePaymentService();
paymentService = new StripePaymentService(globalSettings);
break;
case GatewayType.Braintree:
paymentService = new BraintreePaymentService(globalSettings);

View File

@ -144,7 +144,7 @@ namespace Bit.Core.Models.Table
switch(Gateway)
{
case GatewayType.Stripe:
paymentService = new StripePaymentService();
paymentService = new StripePaymentService(globalSettings);
break;
case GatewayType.Braintree:
paymentService = new BraintreePaymentService(globalSettings);