spree/spree_gateway

Authorize Net - Not Processing Payments

grichardomi opened this issue · 1 comments

Payments get processed for other gateways like Stripe, PayPal, but failed for Authorize net.

Gateway Error
--- !ruby/object:ActiveMerchant::Billing::Response
params:
action: :authorize
response_code:
response_reason_code: '3'
response_reason_text: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardNumber' element
is invalid - The value XX is invalid according to its datatype 'String' - The
actual length is less than the MinLength value
avs_result_code:
transaction_id:
card_code:
authorization_code:
cardholder_authentication_code:
account_number:
test_request:
message: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardNumber' element is invalid

The value XX is invalid according to its datatype 'String' - The actual length
is less than the MinLength value
success: false
test: true
authorization: "##authorize"
fraud_review: false
error_code:
emv_authorization:
avs_result:
code:
message:
street_match:
postal_match:
cvv_result:
code:
message:

Did anyone experience this behavior?

Works with CIM