com.drastikbydesign.stripe icon indicating copy to clipboard operation
com.drastikbydesign.stripe copied to clipboard

why do we keep a civicrm_stripe_plans table? Can we remove it?

Open jmcclelland opened this issue 7 years ago • 0 comments

I was just bitten by #103 again and after considering the code, it seems like we can eliminate this table.

Then, for every plan, we first query stripe to see if it exists and if it doesn't we create it.

It seems that the only purpose of the plans table is to avoid this extra query. But the cost is losing a recurring contribution if something gets out of sync.

jmcclelland avatar Oct 18 '17 18:10 jmcclelland