12
packages/schemas/features/blocks/inputs/payment/constants.ts
Normal file
12
packages/schemas/features/blocks/inputs/payment/constants.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { PaymentInputBlock } from './schema'
|
||||
|
||||
export enum PaymentProvider {
|
||||
STRIPE = 'Stripe',
|
||||
}
|
||||
|
||||
export const defaultPaymentInputOptions = {
|
||||
provider: PaymentProvider.STRIPE,
|
||||
labels: { button: 'Pay', success: 'Success' },
|
||||
retryMessageContent: 'Payment failed. Please, try again.',
|
||||
currency: 'USD',
|
||||
} as const satisfies PaymentInputBlock['options']
|
Reference in New Issue
Block a user