0👍
What does it return? Maybe you need this.calculatedCost()
In any case, such a client-side actions.order.create
and actions.order.capture
are deprecated and should not be used for any new integration.
See the standard checkout documentation for information on having your button code call server-side routes, which you must implement on a server and should in turn call the /v2/checkout/orders API.
- [Vuejs]-Vue.js Bootstrap table – pass data between Parent and Child component
- [Vuejs]-Is it correct to write a code to pass data to child component in vue.js?
Source:stackexchange.com