chargify / chargify_api_ares

A Chargify API wrapper for Ruby using ActiveResource
http://chargify.com
MIT License
160 stars 95 forks source link

Supporting multiple sites #172

Open rizo opened 4 years ago

rizo commented 4 years ago

I'm working on a project that is transitioning from one Chargify site to another Chargify site (powered by a different payment gateway). In order to execute this migration, without disrupting the existing payment flows, we decided to support two Chargify sites in parallel.

Unfortunately it seems like chargify_api_ares gem does not support this. In particular, currently the configuration is defined as a singleton in a module, preventing the consumers from having multiple instances.

Are there any plans to change this behaviour? If not, could you recommend any alternative approaches to use chargify_api_ares in a project with two Chargify sites?

Thanks in advance!

NiceMLT commented 4 years ago

@rizo Is the only thing you need out of the new site a different gateway? We have processes in place through support to migrate a site from one gateway to another. Perhaps that would be a simpler solution for you all?

rizo commented 4 years ago

@NiceMLT thanks for the quick reply!

The payment gateway used by our production Chargify site is Windcave. We have asked them to help us migrate the data to Stripe, but unfortunately they refused to do it. So we think that the only option that we have now is to migrate our customers manually.

Could you give me more information on how your support team could help us with this?

NiceMLT commented 4 years ago

Hey @rizo no problem at all. I'm "just" a developer here but I've worked with our support team before on merchants migrating from one gateway to another. We do it frequently enough that there are processes in place for it with our support team. Let me see if I can get someone to reach out to you all.