Implement the method to get available payment methods and the details needed to render them via the REST API. Create a new class for the response. Send the raw response back in the rawResponse property (the front end will need this) and optionally come up with a normalized version in a new property. Cache them based on the currency and country. See Ingenico's BankPaymentProvider for an example of caching and normalizing bank lists.
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T277120 Epic: Adyen reintegration, Drop In Web | |||
| Resolved | Cstone | T283627 Adyen Checkout: get available payment methods |
Event Timeline
Change 695442 had a related patch set uploaded (by Cstone; author: Cstone):
[wikimedia/fundraising/SmashPig@master] WIP: Create getPaymentMethods call
Change 695442 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Create getPaymentMethods call
Change 698081 had a related patch set uploaded (by Cstone; author: Cstone):
[wikimedia/fundraising/SmashPig@master] Add missing account and correct api call name
Change 698081 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Add missing account and correct api call name
Change 699279 had a related patch set uploaded (by Ejegg; author: Ejegg):
[wikimedia/fundraising/SmashPig@master] Move cache helper functions to core
Change 699307 had a related patch set uploaded (by Ejegg; author: Ejegg):
[wikimedia/fundraising/SmashPig@master] Cache Adyen payment method lookup
Change 699279 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Move cache helper functions to core
Change 699307 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Cache Adyen payment method lookup
Change #1108851 had a related patch set uploaded (by Wfan; author: Wfan):
[wikimedia/fundraising/SmashPig@master] if paymentMehtod params do not have currency or language