Hi Victor,




Could you please file a new issue about this on spree_gateway with the information requested in spree https://github.com/spree/spree/tree/master/CONTRIBUTING.md? That'll help us a lot to be able to track down why this is happening. Being able to see this happening for ourselves would be awesome.




Thanks!
On Sun, Oct 6, 2013 at 4:42 PM, Victor wrote:

Hello all,
I've having some issues getting payments processed on a new store. I'm
guessing it might be an issue with the spree gateway itself but i'm not
sure.
Given a vanilla install with some basic extra steps (add a zone, shipping
method, etc.) the payment fails with the following error:
"The card object must have a value for 'number'"
This happens on the confirmation step, the payment step succeeds without
issue.
Looking in the log I see the following:
Gateway Error
--- !ruby/object:ActiveMerchant::Billing::Response
params:
error:
message: The card object must have a value for 'number'.
type: card_error
param: number
code: invalid_number
message: The card object must have a value for 'number'.
success: false
test: false
authorization:
fraud_review:
avs_result:
code:
message:
street_match:
postal_match:
cvv_result:
code:
message:
I checked a bit further back in the log and the credit card details do
appear to be submitted:
Started PATCH "/checkout/update/payment" for 127.0.0.1 at 2013-10-06
16:27:28 +1100
Processing by Spree::CheckoutController#update as HTML
Parameters: {"utf8"=>"✓",
"authenticity_token"=>"ULTMChoByuqOylMyc2kVfmDUPIWsHuZk+ytf6hvkgrY=",
"order"=>{"payments_attributes"=>[{"payment_method_id"=>"6"}]},
"payment_source"=>{"6"=>{"number"=>"[FILTERED]", "expiry"=>"01 / 14",
"verification_value"=>"[FILTERED]", "cc_type"=>"visa",
"first_name"=>"Victor", "last_name"=>"Ramanauskas"}}, "state"=>"payment"}
I'm using Stripe.
I'd appreciate any help at all, if someone has experienced something
similar and could give me a push in the right direction then that would be
awesome!
Cheers,
Victor.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedOct 6, '13 at 6:57a
activeOct 6, '13 at 6:57a
posts1
users1
websitespreecommerce.com
irc#RubyOnRails

1 user in discussion

Ryan Bigg: 1 post

People

Translate

site design / logo © 2023 Grokbase