active_merchant
active_merchant copied to clipboard
Iugu Gateway: authorize, capture and purchase methods
reference: iugu.com/referencias/api
hi, nice job. How can i use that implementation in my project?
Thanks.
Until activemerchant/active_merchant accept this pull request, the only option is to include my repository in your project. According to this doc (http://bundler.io/git.html), this is the way to go:
gem 'active_merchant', github: 'alexandremcosta/active_merchant', branch: 'iugu'
Ok. I do that. But in application backend i can't see any option to configure iugu.
Can u help me?
Any chance of being merged?
It's been a while since this pull was requested, no updates since then? It would be great to have any response from author/contributors.
Looks like it's the fifth next in the line. I have no permission to do the merge by myself, so unfortunatelly I cannot do anything besides waiting, @gcmartins93. Additionally, the project that required me to create this PR doesn't exist anymore :(
Good luck!
Thanks for reply, @alexandremcosta, it's being a while since this PR was open. Do you think that it would take too long to be merged? In the meanwhile do you suggest to use your branch?
As I can see, there is a queue of approval, from the last to the first. Its taking more than a year, from the submission to the approval. Since there is nothing we can do, I recommend you to use my branch, or to drop activemerchant and create your own integration using Iugu API.
Thanks for the fast reply, it helped to move forward with my decision.
It might be a good idea to have :order_id as a param inside create_post_for_auth so we can link both our order to Iugu charge and Iugu charge to our order.
Also, why does the comments indicate us the use of the purchase method to create bank_slips if those are only captured after some days? It doesn't make much sense to try and capture it right after creating the bank_slip because the auto capture will never work...