Behoben Store

Fixed Store refunds made twice when Stripe did not answer

A refund Stripe did not answer is now shown as waiting with Send again, and trying again never refunds the customer twice. Returns, quotes and Mark shipped also do things once.

On a Store order:

  • When Stripe does not answer a refund, the order now says the refund of that amount is waiting, with Send again. Sending it again, or pressing Refund again in the drawer that opens after the error, makes the refund once. Before, a second try could refund the customer twice. The same applies to a payment plan's payments, which were also marked failed when Stripe did not answer.
  • Add shipment takes a tracking address as you paste or type it: carrier.com/track/123 gets https://, and a carrier's http:// link is kept.

On a return, Close return closes it once. Closing it again after Stripe did not answer, or two people closing it at the same time, no longer refunds twice or makes two replacement orders.

A quote becomes one order. Record an order from another tab or an older page opens the order already recorded instead of recording a second one and taking its stock again.

Mark shipped on several orders no longer stops halfway when one of them was shipped meanwhile: that one is skipped, the rest ship, and the message gives both counts.

When closing a register, a cash count typed with a decimal comma, such as 70,50, is read as 70.50.