/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import { loadStripe } from '../stripe-utils';
import { StripeCreditCard } from './payment-method';
import { PAYMENT_METHOD_NAME } from './constants';
const stripePromise = loadStripe();
const Edit = ( props ) => {
return ;
};
const stripeCcPaymentMethod = {
name: PAYMENT_METHOD_NAME,
label: (
{ __( 'Credit/Debit Card', 'woo-gutenberg-products-block' ) }
),
content: ,
edit: ,
canMakePayment: () => stripePromise,
ariaLabel: __(
'Stripe Credit Card payment method',
'woo-gutenberg-products-block'
),
};
export default stripeCcPaymentMethod;