emfcamp / Website

The Electromagnetic Field web site
http://www.emfcamp.org
GNU Affero General Public License v3.0
41 stars 83 forks source link

Payments: migrate from Wise borderless-accounts to newer alternatives #1755

Open jayaddison opened 1 month ago

jayaddison commented 1 month ago

We have a few references in the codebase to Wise Borderless Accounts; there are newer/preferred alternatives available in the Wise API for use instead.

If possible it'd be nice to rename some of our model database columns accordingly at the same time. I think we could do that by adding a second column of the same name / constraints, and performing an UPDATE during the upgrade/downgrade database migrations. Yes, theoretically an alias column would work too, but I think it may be simpler for the bidirectional migrations simply to duplicate the column temporarily.

An upgrade of the pywisetransfer dependency will be required alongside these changes.

marksteward commented 1 month ago

Probably worth waiting until after we wipe down the DB (should be in the next month), We can wipe all the migrations at the same time, as that's well overdue.