From c28321a22ac70be711ebde25514aab323140bcb3 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 5 Jul 2021 08:11:43 +1000 Subject: [PATCH] Minor fixes for subscription activities --- app/Listeners/Activity/SubscriptionArchivedActivity.php | 2 +- app/PaymentDrivers/StripePaymentDriver.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Listeners/Activity/SubscriptionArchivedActivity.php b/app/Listeners/Activity/SubscriptionArchivedActivity.php index f1f0502c7ae8..0412cecc16fd 100644 --- a/app/Listeners/Activity/SubscriptionArchivedActivity.php +++ b/app/Listeners/Activity/SubscriptionArchivedActivity.php @@ -50,7 +50,7 @@ $user_id = array_key_exists('user_id', $event->event_vars) ? $event->event_vars[ $fields->subscription_id = $subscription->id; $fields->user_id = $user_id; $fields->company_id = $subscription->company_id; - $fields->activity_type_id = Activity::ARCHIVE_SUBSCRIPTIOn; + $fields->activity_type_id = Activity::ARCHIVE_SUBSCRIPTION; $this->activity_repo->save($fields, $subscription, $event->event_vars); } diff --git a/app/PaymentDrivers/StripePaymentDriver.php b/app/PaymentDrivers/StripePaymentDriver.php index 3075c8ef4c8d..f2e8b8f5e78d 100644 --- a/app/PaymentDrivers/StripePaymentDriver.php +++ b/app/PaymentDrivers/StripePaymentDriver.php @@ -114,7 +114,7 @@ class StripePaymentDriver extends BaseDriver public function gatewayTypes(): array { $types = [ - GatewayType::CRYPTO, + // GatewayType::CRYPTO, GatewayType::CREDIT_CARD ];