WaiveCar / Waivecar

Waivecar
https://waivecar.com
0 stars 0 forks source link

Api: Create a way to associate payment methods with organizations instead of users #1606

Closed daleighan closed 4 years ago

daleighan commented 4 years ago
alter table organizations add column stripe_id varchar(255) after logo_id;
alter table shop_payment_cards add column organization_id int after user_id;
alter table shop_payment_cards modify user_id int(11) null;
alter table shop_orders modify user_id int(11) null;
alter table shop_orders add column organization_id int after user_id;
daleighan commented 4 years ago

For this work, I am adding card management that pertains to organizations, while the only kind of payment that will initially support organizations' cards is statement payments.

daleighan commented 4 years ago

The charges and associations for this now work. What still needs to be completed is the communications that are part of #1603