active_merchant icon indicating copy to clipboard operation
active_merchant copied to clipboard

Iugu Gateway: authorize, capture and purchase methods

Open alexandremcosta opened this issue 8 years ago • 10 comments

reference: iugu.com/referencias/api

alexandremcosta avatar Jul 12 '16 13:07 alexandremcosta

hi, nice job. How can i use that implementation in my project?

Thanks.

phsacramento avatar Aug 20 '16 19:08 phsacramento

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'

alexandremcosta avatar Aug 23 '16 14:08 alexandremcosta

Ok. I do that. But in application backend i can't see any option to configure iugu.

Can u help me?

phsacramento avatar Aug 23 '16 14:08 phsacramento

Any chance of being merged?

iagopiimenta avatar Jul 13 '17 20:07 iagopiimenta

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.

gbrlcustodio avatar Nov 23 '17 12:11 gbrlcustodio

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!

alexandremcosta avatar Nov 28 '17 14:11 alexandremcosta

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?

gbrlcustodio avatar Nov 28 '17 16:11 gbrlcustodio

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.

alexandremcosta avatar Nov 28 '17 16:11 alexandremcosta

Thanks for the fast reply, it helped to move forward with my decision.

gbrlcustodio avatar Nov 28 '17 18:11 gbrlcustodio

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...

gustavopergola avatar Apr 22 '19 00:04 gustavopergola