Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

381 B
Raw Blame
import type { PaygSignupRequiredDetail } from "@editor/services/paygErrorInterceptor";

/** Opens the shared Processor signup prompt while preserving the current editor session. */
export function requestProcessorSignup(): void {
  window.dispatchEvent(
    new CustomEvent<PaygSignupRequiredDetail>("payg:signupRequired", {
      detail: { category: "PROCESSOR" },
    }),
  );
}