Settings -> General Settings (option key: * fluent_cart_checkout_form_subscribe_settings, defined in the base plugin's * AutoSubscribe service). */ class CheckoutSubscription { /** * Form field name posted with the checkout request and the * order meta key holding the captured opt-in state. */ const OPTIN_FIELD = '_fc_cart_checkout_subscribe'; /** * Order meta flag preventing the same order from being processed twice. */ const PROCESSED_META = '_fc_cart_checkout_optin_processed'; public function init() { // Renders inside the checkout