josemarluedke / dearfriend

Receiving handwritten letters is much more awesome than emails. [Rails Rumble project]
http://dearfriend.cc
1 stars 0 forks source link

Migrate from Paypal to Moip #3

Closed Irio closed 11 years ago

Irio commented 11 years ago

Paypal requires CNPJ from accounts using API, while Moip accept this type of integration for individuals.

Irio commented 11 years ago

The big question is: should we keep both gateways or replace Paypal with Moip, since Paypal is not in Herói Postal's plans?

josemarluedke commented 11 years ago

I thing we can just create a tag with the current code, named "paypal". Then replace the Paypal gateway to Moip.

Other solution is create Rails Engines to each payment gateway, just like Catarse works now.

Examples:

https://github.com/devton/catarse_paypal_express https://github.com/devton/catarse_moip https://github.com/josemarluedke/catarse_dineromail

Irio commented 11 years ago

I vote for a easier substitution (tagging the current code with Paypal). The project probably don't have any more users other from Herói Postal, so when we have a CNPJ we add Paypal's support back to maintain two or more payment options.

josemarluedke commented 11 years ago

I don't see any problem with this solution.

Irio commented 11 years ago

Its already merged into master and under Moip's verification.

Irio commented 11 years ago

Solved with a8e9f72c091773cd06ad135964580dfda8b6f502.