woocommerce/plugins/woocommerce-blocks/assets/js/payment-method-extensions/payment-methods/stripe/index.js

19 lines
431 B
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import {
registerPaymentMethod,
registerExpressPaymentMethod,
} from '@woocommerce/blocks-registry';
/**
* Internal dependencies
*/
import stripeCcPaymentMethod from './credit-card';
import ApplePayPaymentMethod from './apple-pay';
registerPaymentMethod( ( Config ) => new Config( stripeCcPaymentMethod ) );
registerExpressPaymentMethod(
( Config ) => new Config( ApplePayPaymentMethod )
);