spree_gateway
spree_gateway copied to clipboard
Accept an ActiveMerchant::Billing::Response when storing a credit card for Balanced
Changed handling in create_profile for Balanced to accept an ActiveMerchant response with the card_uri and account_uri in authorization
Please see ActiveMerchant pull request: https://github.com/Shopify/active_merchant/pull/889
When this is pulled in to ActiveMerchant, my changes to Spree gateway can be pulled.
I made a minor modification to this as the AM guys asked me to return the card_uri and account_uri in a different manner. I'll monitor my pull request on AM and will update this PR once a new AM gem is released.
Ok an ActiveMerchant update has been released in 1.42.0 and forward that supports the credit card uri being returned in an ActiveMerchant response.
There doesn't appear to be an ActiveMerchant dependency in this gem. Should there be one? Or does that unnecessarily complicate things?
Hey @cwise,
The ActiveMerchant dependency is listed within spree_core's gemspec because there are parts of Spree, such as the BogusGateway classes, which depend on ActiveMerchant.
I will be bumping the AM version later today. We are probably going to be doing a new Spree release (2.1.x, 2.0.x and maybe 1.3.x) sometime this week too.
This is fixed with: 63dd56da5f16fa52e98bd77a1759339c892c3e4c
Maybe I was to quick.. @cwise AM dependency has been updated. Does this PR needs any more work or can it be closed? //cc @radar
Thanks Peter.
Did the commit to handle the response get merged in? That's the bulk of the change, but it was tied to an update to AM that sends back a proper AM:Response instead of whatever it previously did.
Ah, no that did not get merged in yet. I have 2 minor issues, it will not merge cleanly with master and I would love some regression tests as well. Could you look into that @cwise? Thanks!
I'm unclear on the status of this. Has this been resolved or did it stall on specs?
@cwise Can you rebase it against master & make sure everything's working like expected? Also - please provide some specs. Thanks in advance 👍
Guys I'm soooooooo out of the weeds on this these days that it'd be tough for me to get involved. Let me check with our dev team on this and see where it was left.