Creating custom payment component
The integration gives you a raw version of the PaymentStripeProvider.vue
component. You can copy it from node_modules
, use as a base, and customize for your needs.
cp node_modules/@vsf-enterprise/stripe-commercetools/src/components/PaymentStripeProvider.vue YourPaymentStripeProvider.vue
You can do the same with PaymentStripeLoader.vue
:
cp node_modules/@vsf-enterprise/stripe-commercetools/src/components/PaymentStripeLoader.vue YourPaymentStripeLoader.vue
Remember that, if you decide to fork Vue component from the package then you will be responsible for updating it to new versions when we release them.