Skip to content

Commit

Permalink
refactor: move code to recurring donations
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Aug 23, 2023
1 parent d92e02a commit 34e85dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.

This file was deleted.

12 changes: 0 additions & 12 deletions src/PaymentGateways/Gateways/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,6 @@ private function registerGateways()
return $recurringData;
});

/**
* This module will eventually live in give-recurring
*/
if (defined('GIVE_RECURRING_VERSION') && GIVE_RECURRING_VERSION) {
add_filter(
sprintf("givewp_gateway_%s_subscription_module", PayPalCommerce::id()),
static function () {
return PayPalCommerceSubscriptionModule::class;
}
);
}

$this->addLegacyStripeAdapter();
$this->addStripeWebhookListeners();
}
Expand Down

0 comments on commit 34e85dc

Please sign in to comment.