Need to checked payment method by default.
-
Hello All,
I have only one payment method on the checkout page.
So I want to payment method should be checked by default when we click on shipping method.
Please check the below video for more details.
-
@Nayan7030 For Default payment method
File url - Project_name\packages\Webkul\Velocity\src\Resources\views\shop\checkout\onepage.blade.php
Line no 625
After
eventBus.$emit('after-checkout-payment-section-added');Add
this.payment = {
method : "youpaymentmethodname"
};
this.methodSelected();Then Run php artisan vendor:publish and make sure clear cache.
Thank you
-
@deepak227 said in Need to checked payment method by default.:
php artisan vendor:publish
Hello Deepak,
Thank you for your quick reply.
It's mandatory to run the publish command.
Because after run that command we lost some template file changes and default theme changes will be over right.
So, is there any alternate solution to do this?
-
Hello @deepak227 , Did you get a chance to check my last reply?
-
@deepak227 said in Need to checked payment method by default.:
this.payment = {
method : "youpaymentmethodname"
};
this.methodSelected();@deepak227 It's working fine now. Thank you so much.
-
default payment method not showing on the checkout page but showing in the footer
-
how to integrate a payment gateway for my site that I accept payment from other countries also.