Closed spiritbear closed 11 years ago
We'll have to take your word for it - I don't think any of the maintainers use the recurring API. You could git blame
and try contacting the original contributor as well.
Ok, I will fix the changes, write test cases and submit a pull request
@spiritbear How did you change the library around to fix this?
@psoots I have not checked that code in, we were busy with other stuff, but it simply involves changing the way the xml is generated (which means changing the order in which functions are called.). Did you want more specific details?
Yeah, if you could at least point me to a reasonable fix/workaround, that would be super helpful.
@spiritbear we have run into this problem. It would be very helpful if you could check in the fix. It would save us from duplicating your effort. Thanks Much.
Yes sorry guys things have been a little hectic at my end, I will go back and check in my fix within a couple of days.
I have created a branch with my changes and completed testing, I am trying to push the branch and I get an error.
ERROR: Permission to Shopify/active_merchant.git denied to spiritbear. fatal: The remote end hung up unexpectedly
I have never submitted a pull request before, can someone help me out with this?
Figured it out, submitted a patch. Let me know if you need anything else.
Superseded by #774.
I was working on integrating ActiveMerchant with my Rails App when I ran into a couple of issues with CyberSource and the way recurring payments are handled.
1) Overriding Subscription Parameters
In the cyber_source.rb file https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/cyber_source.rb
on line 306 the parameters get overridden by some default values, e.g the payment type changes to "on-demand", the amount to 0, and automatic_renew to false.
2) While creating a recurring subscription I get a 500 Internal Server Error.
I changed the library around a little bit and managed to get it working. I wanted to make sure that this is really a bug and not me using the library incorrectly.
I can submit a fix if someone can verify if this is a bug.