cancel
Showing results for 
Search instead for 
Did you mean: 

WooCommerce Authorize.Net Gateway Accept.js error

So the site I just inherited has been working and now all of the sudden all transactions stopped because of Accept.js Error: payment nonce is missing issue.

 

I double chacked and all credentials to Authorize are correct.

 

Any ideas on how to go about this?

 

Thanks!

 

From WooCommerce log: replace sensitive info with ****

 

04-03-2019 @ 03:32:13 - Request
method: POST
uri: https://api2.authorize.net/xml/v1/request.api
user-agent: WooCommerce-Authorize.Net-Gateway/3.0.1 (WooCommerce/3.5.7; WordPress/5.1.1)
headers: Array
(
[content-type] => application/xml
[accept] => application/xml
)
body: <?xml version="1.0" encoding="UTF-8"?>
<getMerchantDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>***********</name>
<transactionKey>****************</transactionKey>
</merchantAuthentication>
</getMerchantDetailsRequest>
duration: 0.55589s

04-03-2019 @ 03:32:13 - Response
code: 200
message: OK
headers: Array
(
[cache-control] => no-store
[pragma] => no-cache
[content-type] => application/xml; charset=utf-8
[access-control-allow-credentials] => true
[access-control-allow-headers] => x-requested-with,cache-control,content-type,origin,method,SOAPAction
[access-control-allow-methods] => PUT,OPTIONS,POST,GET
[access-control-allow-origin] => *
[strict-transport-security] => max-age=31536000
[x-cnection] => close
[content-length] => 1549
[date] => Wed, 03 Apr 2019 03:32:12 GMT
)
body: <?xml version="1.0" encoding="utf-8"?>
<getMerchantDetailsResponse>
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<isTestMode>false</isTestMode>
<processors>
<processor>
<name>Chase Paymentech</name>
<id>11</id>
<cardTypes>
<cardType>A</cardType>
<cardType>D</cardType>
<cardType>M</cardType>
<cardType>V</cardType>
</cardTypes>
</processor>
</processors>
<merchantName>****</merchantName>
<gatewayId>****</gatewayId>
<marketTypes>
<marketType>MOTO</marketType>
</marketTypes>
<productCodes>
<productCode>CNP</productCode>
</productCodes>
<paymentMethods>
<paymentMethod>AmericanExpress</paymentMethod>
<paymentMethod>Discover</paymentMethod>
<paymentMethod>MasterCard</paymentMethod>
<paymentMethod>Visa</paymentMethod>
</paymentMethods>
<currencies>
<currency>USD</currency>
</currencies>
<publicClientKey>****</publicClientKey>
<businessInformation>
<company>****</company>
<address>****</address>
<city>****</city>
<state>****</state>
<zip>****</zip>
<country>US</country>
<phoneNumber>****</phoneNumber>
</businessInformation>
<merchantTimeZone>America/Los_Angeles</merchantTimeZone>
<contactDetails>
<contactDetail>
<email>****</email>
<firstName>****</firstName>
<lastName>****</lastName>
</contactDetail>
</contactDetails>
</getMerchantDetailsResponse>

04-03-2019 @ 03:44:33 - Accept.js Error: payment nonce is missing

StudioChick18
Member
5 REPLIES 5

Hello @StudioChick18 

 

Have you contacted the developer of WooCommerce for assistance?

 

Richard

RichardH
Administrator Administrator
Administrator

Yes, no help there...

 

Since I have no idea what is going on, I was wondering if generating new API login ID and Transaction Keys would help.

This  looks something specific to the wooCommerce plugin issue . 

 

Can you try regenerating the clientKey 

 

https://developer.authorize.net/api/reference/features/acceptjs.html#Generating_and_Using_the_Public...

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net

I had this same issue and found the plugin, Autoptimize, was causing the issue.  After I disabled plugin Autoptimize the issue was resolved.

jdwalte32000
Member

I had this same issue and an installed plugin, Autoptimize, to be causing the issue.  After I disabled that plugin the issue was resolved.

jdwalte32000
Member