Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
How is the checkout process with Bagisto Web API?
rudiculous last edited by
I am building separated front shop using the Web API,
But I am confused with the checkout process.
I know the process to add, update the cart, including save shipping method, save payment method and save order with API end point api/checkout/cart/.....
- How do I get the list of payment method (I cannot find any api to get this in the docs) ?
- Then if I am able to save the payment method to the order and created the order, when the payment will take action?
The sample in the docs is using COD, so there is no payment process needed. But if I need to call (let say paypal), what is the process?
devansh-webkul last edited by
When you save the address then in response you will get the shipping method.
Same when you save shipping method then you will get payment method in response.