Page MenuHomePhabricator

UpDonate: Can't give more than initial amount
Closed, ResolvedPublic

Description

From @EWilfong_WMF:

I gave a one-time donation of $10 and received the upsell ask of $3. I choose the "give another amount" option and tried to give $4. I received an error message (attached) that I could not give more than my original amount.

  1. I wasn't trying to do that,
  2. I don't think that should be disallowed if someone wants to do that.

Oddly enough, I ran another test of a $5 initial donation and input $4 again as the monthly amount and it went through without the error message.

image.png (900×1 px, 109 KB)

Event Timeline

I'm pretty sure this is a limitation of the platform - once you create a tokenized payment, you can only use that token to charge up to the same amount.

Oops, sorry, I misread the bug report - recurring $4 donation on $10 should definitely be allowed

I can't replicate this on the current code.

When did this happen? There was a bug in the original validation, but we solved it the same time we made the updonate work with multiple currencies. The new form doesn't show the $ to the left of the other amount box - instead, it show the three letter currency code to the right, like we do with the regular amount input when the donor reaches payments-wiki without an amount (or with an invalid amount).

I experienced this issue on a donation made on 8/26/19. Just re-tested and did not experience the same issue, so it does appear the bug I encountered has been resolved.

Ejegg claimed this task.