You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in some cases we are calling the api-client directly and that should be done by a composable rather than from the theme, i.e.:
constresponse=await$vendure.api.setPaymentMethod({method: paymentMethod?.value?.code,metadata: {// Here you would pass data from an external Payment Provided after successful payment process like payment id.}});
We should develop a new composable and factory called usePayment call the api-client methods from there.
What are the acceptance criteria?
[ ]
Additional information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
How the project can be improved?
Currently in some cases we are calling the api-client directly and that should be done by a composable rather than from the theme, i.e.:
We should develop a new composable and factory called usePayment call the api-client methods from there.
What are the acceptance criteria?
Additional information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: