diff --git a/src/Stripe/config.php b/src/Stripe/config.php index 34c3477..822c872 100644 --- a/src/Stripe/config.php +++ b/src/Stripe/config.php @@ -3,6 +3,7 @@ use App\Stripe\Api\Entity\StripeUser; use App\Stripe\Api\Stripe; use App\Stripe\StripePaymentType; +use App\Stripe\StripePaymentBoard; use function DI\add; use function DI\autowire; @@ -12,7 +13,7 @@ 'auth.entity' => StripeUser::class, 'payments.type' => add(get(StripePaymentType::class)), 'csrf.except' => add(['stripe.webhook']), - 'payment.boards' => add(get(StripePaymentType::class)), + 'payment.boards' => add(get(StripePaymentBoard::class)), Stripe::class => autowire() ->constructorParameter('endpointkey', $_ENV['STRIPE_ENDPOINT'] ?? null) ->constructorParameter('privateKey', $_ENV['STRIPE_SECRET'] ?? null)