On the checkout page, after clicking Continue to review, the following error message is displayed:

We encountered an unexpected error processing your payment method. Please try again later.

When I check my recent log messages, there is:

Type: commerce_authnet

User: Anonymous (not verified)

Message: Received response with code Error from Authorize.net: E00003: The element 'profile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'email' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'paymentProfiles, shipToList' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.

and after that:

Type: commerce_payment

User: Anonymous (not verified)

Message: Unable to create customer profile.

The first question I have is, if the customer is clicking Continue to review, why is it trying to talk to Authorize.Net before they have a chance to verify all of the entered information?

Second, why is a customer profile trying to be created when I have Login or continue as guest disabled in the Checkout flow?

Comments

Marrer created an issue. See original summary.

Rounder’s picture

Version: 8.x-1.x-dev » 8.x-1.0-beta2

Corrected version level.

Rounder’s picture

Priority: Critical » Major
bojanz’s picture

This is a duplicate of #2892467: Does not support anonymous checkout.

You'll have to disable anonymous checkout to use the AuthNet beta, until Accept.js support is finished.

bojanz’s picture

Status: Active » Closed (duplicate)
chrisrockwell’s picture

Priority: Major » Critical
Status: Closed (duplicate) » Active

We do not allow anonymous checkout so I don't think this is related.

I created #2918431: Created billTo object should not include fields that aren't available/necessary for customers location without seeing this one. I'm getting a few different errors, including:

Received response with code Error from Authorize.net: E00003: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:address' element is invalid - The value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.
Received response with code Error from Authorize.net: E00003: The element 'billTo' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'state' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'phoneNumber, faxNumber, email' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.

A cursory glance shows it's only happening with non-US addresses (Romania and Turkey are the two most recent).

I think this is critical since it appears non-US card holders can not checkout.

chrisrockwell’s picture

Priority: Critical » Major
Status: Active » Closed (duplicate)

Sorry - at quick glance this seemed like the same issue, now I believe these are different.