openfoodfoundation / wishlist

This repository welcomes ideas and suggestions to improve the OFN software.
3 stars 0 forks source link

Payment states of the order reflect state (or status) of the payment #110

Open filipefurtad0 opened 3 years ago

filipefurtad0 commented 3 years ago

What is the need / problem?

The payment state of the order reflects the payment state of the payment (or payment status), when a Stripe SCA payment is added to the order: both are displayed as requires_authorization. If this payment fails then

This is confusing as the payment state of the order should rather have a "pointer" function, i.e., only indicating whether balance is due, credit is owed or the order is paid (with the respective states + none).

For a Stripe SCA payment: image

For a cash payment: image

It also happens for a failed payment attempt - ex. using a the card 4000000000009995: image

Which type of users does this problem affect (and how many, if known)?

Hub Managers (MCFEs)

Potential solutions that will solve the problem ?[[brainstorming to list feature candidates]

Currently payment state of the order can be:

The improvement would be the payment state of the order to exclusively have the "pointer" function having these as the only allowed states:

Connected wishlist and discovery discussions* [list precedent discussions]

openfoodfoundation/wishlist#107 openfoodfoundation/openfoodnetwork#8912 openfoodfoundation/wishlist#109

Additional context

https://miro.com/app/board/o9J_lEsaK4Q=/

Is Papercut or feature candidate?

Feature candidate.

jaycmb commented 2 years ago

Confirmed Papercut size (changing only one method)