mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 02:43:24 +00:00
- Add logger utility adapted from payload-mailing pattern - Use PAYLOAD_BILLING_LOG_LEVEL environment variable for configuration - Replace console.* calls with contextual loggers across providers - Update webhook utilities to support proper logging - Export logging utilities for external use - Maintain fallback console logging for compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
755 B
TypeScript
22 lines
755 B
TypeScript
|
|
export { billingPlugin } from './plugin/index.js'
|
|
export { mollieProvider, stripeProvider } from './providers/index.js'
|
|
export type { BillingPluginConfig, CustomerInfoExtractor, AdvancedTestProviderConfig } from './plugin/config.js'
|
|
export type { Invoice, Payment, Refund } from './plugin/types/index.js'
|
|
export type { PaymentProvider, ProviderData } from './providers/types.js'
|
|
|
|
// Export logging utilities
|
|
export { getPluginLogger, createContextLogger } from './utils/logger.js'
|
|
|
|
// Export all providers
|
|
export { testProvider } from './providers/test.js'
|
|
export type {
|
|
StripeProviderConfig,
|
|
MollieProviderConfig,
|
|
TestProviderConfig,
|
|
TestProviderConfigResponse,
|
|
PaymentOutcome,
|
|
PaymentMethod,
|
|
PaymentScenario
|
|
} from './providers/index.js'
|