Closed Irio closed 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?
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
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.
I don't see any problem with this solution.
Its already merged into master and under Moip's verification.
Solved with a8e9f72c091773cd06ad135964580dfda8b6f502.
Paypal requires CNPJ from accounts using API, while Moip accept this type of integration for individuals.