Alexandre Segura
Alexandre Segura
Hi @sheridanvk, hope you are doing well. Are still motivated to tackle this issue? If this can help, @maxi3390 has added XDebug to the Docker stack (#1765) 🙂
Cool, anytime is ok 🙂 About [this comment](#issuecomment-657188585), it was done in #1744
It is now possible to edit & archive promotions
@Atala which API connection?
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](https://github.com/coopcycle/coopcycle-web/blob/a8f2df6cbdd117cfe6fed97774a338354bbf3b9b/features/retail_prices.feature#L18-L28)
@alexpal03 this is exactly what I did
@kelvincarvalhosilva @aqudsilva @andreagostinho-meli @danielen-meli Can you take a look and merge?
Also maybe first check if implementing [automatic payment methods](https://docs.stripe.com/upgrades/manage-payment-methods) doesn't automagically propose all enable payment methods. We currently limit to card AFAIK.
I tested a little bit, and unfortunately `automatic_payment_methods` doesn't automagically work without using Payment Element. It's nice, Payment Element renders a form where you can automatically choose between the payment...
This needs UI/UX thinking before starting anything. The video shown from Deliveroo is when you share your location, it's a particular use case. Also not sure this problem happens everywhere.