mirumee / legacy-views

A legacy fork of Saleor that contains the old storefront and dashboard code
Other
14 stars 13 forks source link

Can't change of payment method once one was selected but aborted #21

Open NyanKiyoshi opened 5 years ago

NyanKiyoshi commented 5 years ago

What I'm trying to achieve

To find a payment gateway that supports the USD currency. So I first try razorpay, that doesn't, then I try dummy that does... but doesn't work because I first tried razorpay.

Steps to reproduce the problem

  1. Select a payment gateway and click 'proceed to payment';
  2. Return to the previous page and proceed to the payment with another gateway;
  3. Pay. It will most likely fail because it will query the first selected payment gateway.

Other way, more explicit but require configuration:

  1. Pay in another currency than INR;
  2. Select razorpay;
  3. Return to the payment gateway list;
  4. Pay using dummy;
  5. It will return an error coming from razorpay, because it called the wrong gateway.

What I expected to happen

To have the same gateway called as the one shown on my screen.

biomassives commented 5 years ago

i'm interested in helping to fix this. there may be a simple fix like clearing a cashed query in the ui's typescript.

ghost commented 5 years ago

I guess so just use .us domain on incognito mode