/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/src/PaymentGateways
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/src/PaymentGateways/ServiceProvider.php (1993B)
singleton(PaymentGatewayRegister::class);
give()->singleton(WebhookRegister::class);
}
/**
* @inheritDoc
*/
public function boot()
{
Hooks::addFilter('give_register_gateway', RegisterPaymentGateways::class);
Hooks::addFilter('give_payment_gateways', RegisterPaymentGatewaySettingsList::class);
Hooks::addAction('template_redirect', GatewayRoute::class);
Hooks::addAction('wp_ajax_edit_stripe_account_statement_descriptor', UpdateStatementDescriptorAjaxRequestController::class);
give(MigrationsRegister::class)
->addMigration(AddStatementDescriptorToStripeAccounts::class);
/**
* Stripe Checkout Redirect Handler
*/
Hooks::addAction('wp_footer', CheckoutGateway::class, 'maybeHandleRedirect', 99999);
Hooks::addAction('give_embed_footer', CheckoutGateway::class, 'maybeHandleRedirect', 99999);
}
}