This implements the new payment dialog structure as requested in https://bifrost.kolabsystems.com/T380342.
No new payment methods are enabled yet, so impact should be minimal.
Differential D2239
New Payment dialog structure mollekopf on Feb 10 2021, 2:13 PM. Authored by Tags None Referenced Files
Subscribers
Details
This implements the new payment dialog structure as requested in https://bifrost.kolabsystems.com/T380342. No new payment methods are enabled yet, so impact should be minimal. phpunit tests
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions Also, because it's likely that user will open both Add credit and Setup auto-payment dialogs. It would make sense to fetch the list of payment methods only once. I.e. it could return all methods with some type flag so we could filter it client-side.
Comment Actions Addressed comments, removed payment methods from whitelist that we don't currently offer Comment Actions Fixed storing the currency_amount, displaying exchanged amount and centralized currency conversion I added a nother function to do the conversion because:
Comment Actions When executing some tests for Stripe:
[stacktrace]
[stacktrace]
[stacktrace] |