diff --git a/src/app/hooks/use-invoice-events.ts b/src/app/hooks/use-invoice-events.ts index d2c05d8f8..55718f68d 100644 --- a/src/app/hooks/use-invoice-events.ts +++ b/src/app/hooks/use-invoice-events.ts @@ -7,7 +7,7 @@ import isNil from 'checkout/utils/is-nil'; import { PayableInvoiceData } from './create-payment'; import { PollingResult, pollInvoiceEvents } from './invoice-events'; -const API_METHOD_CALL_MS = 5000; +const API_METHOD_CALL_MS = 1000; const DEFAULT_TIMEOUT_MS = 60 * 1000 * 10; const PAYMENT_STARTED_TIMEOUT_MS = 60 * 1000; diff --git a/src/app/initialize.ts b/src/app/initialize.ts index b4673697e..96cc6d9ed 100644 --- a/src/app/initialize.ts +++ b/src/app/initialize.ts @@ -34,18 +34,6 @@ creditCardType.addCard({ }, }); -creditCardType.addCard({ - niceType: 'Test', - type: 'test', - patterns: [3527, 3508], - gaps: [4, 8, 12], - lengths: [16], - code: { - name: 'CVV', - size: 3, - }, -}); - const initSentry = async (dsn: string) => { const { init, BrowserTracing, Replay } = await import('@sentry/react'); const { CaptureConsole } = await import('@sentry/integrations');