New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthorizeNet Gateway Error (3-0 Stable) #6209
Comments
It looks like the issue is that a Spree::CreditCard object is what is being passed into active_merchant, and it's trying to call the track_data method which I'm not sure what it's for but we don't have a track_data method on our credit card model. We may need to call #to_active_merchant on the Spree::CreditCard object before passing it to active_merchant so that it's a ActiveMerchant::::Billing::CreditCard object that's passed instead. |
Can you please try updating your active_merchant to v1.47.0 from the 1.46.0 that you're on now. |
Also please file gateway issues on spree_gateway instead of here in the future. |
Sorry about that - will file spree_gateway next time. Getting the same error after updating to active_merchant v1.47.0. Where should I call the |
@JDutil Thanks for this! It fixed it up for me. |
This also fixed the issue for me, thanks @JDutil |
I'm getting the following error:
undefined method
track_data' for #Spree::CreditCard:0x007fdb5a1b3b30`Gateway Config:
Running a fresh 3-0 stable build.
My first hunch was that there was an issue with
cc_type
and jquery.payments but after checking the logscc_type
was being sent. I've tried numerous CC #'s and with no luck. Tried using diff gateway configs as listed here here. Tried using a new transaction key. Not sure what's going on...Thanks for the help!
Gemfile
Full Trace:
The text was updated successfully, but these errors were encountered: