Page MenuHomePhabricator

Donate button on Amazon form should only show up when a card is selected
Closed, ResolvedPublic1 Estimated Story Points

Description

We're assuming the wallet widget renders with a default method selected. When this isn't the case, the SetOrderReferenceDetails call comes back with constraint 'PaymentPlanNotSet - The buyer has not been able to select a Payment method for the given Order Reference'.

Move the code that makes the Donate button appear from onOrderReferenceCreate to onPaymentSelected. Show message with links to alternate payment providers a couple seconds after onReady if no payment has been selected yet.

Event Timeline

Ejegg claimed this task.
Ejegg raised the priority of this task from to Medium.
Ejegg updated the task description. (Show Details)
Ejegg added a subscriber: Ejegg.
Ejegg edited a custom field.

Change 242432 had a related patch set uploaded (by Ejegg):
WIP Ensure card selected before clicking 'Donate'

https://gerrit.wikimedia.org/r/242432

Change 242432 merged by jenkins-bot:
Ensure card selected before clicking 'Donate'

https://gerrit.wikimedia.org/r/242432