coopcycle-app
coopcycle-app copied to clipboard
New delivery; Show price before finishing
Show only Total price for now, later on: https://github.com/coopcycle/coopcycle-app/issues/1885
The /api/retail_prices/calculate endpoint can already be used for this.
We just need to make sure to send the store property in the payload, like in this example
@Pierre-LHOSTE to make it consistent with the current web implementation, we should not allow a store owner to proceed if a price can not be calculated. We will work on it in https://github.com/coopcycle/coopcycle/issues/573
add an error message saying "price could not be calculated; please contact us to manage the issue."