Reply
Highlighted
Member
Posts: 3
Registered: ‎01-10-2018

Trying to integrate Accept.js. But get E_WC_03

I am doing an integration with our own custom payment form. I have followed all the steps to include the library, for both sandbox and live, however in either of them I keep getting this response after executing

 

Accept.dispatchData(secureData, responseHandler)

Response:

 

{"messages":{"resultCode":"Error","message":[{"code":"E_WC_03","text":"Accept.js is not loaded correctly"}]}}

 

 

I'm using the correct API Login ID and Public Client Key, and included this library:

 

<script type="text/javascript"
src="https://jstest.authorize.net/v1/Accept.js"
charset="utf-8">
</script>

 

 

I get the same error when testing with the apropriate Live credentials and library.

 

What could be wrong? 

 

For reference, I'm using this function implementation:

 

function sendPaymentDataToAnet() {
var authData = {};
authData.clientKey = "{{ env('AUTHORIZE_CLIENT_KEY') }}";
authData.apiLoginID = "{{ env('AUTHORIZE_API_KEY') }}";

var cardData = {};
cardData.cardNumber = '{{ $cc_number }}';
cardData.month = '{{ $expmonth }}';
cardData.year = '{{ $expyear }}';
cardData.cardCode = '{{ $cvc }}';

var secureData = {};
secureData.authData = authData;
secureData.cardData = cardData;

Accept.dispatchData(secureData, responseHandler);
}

 

Highlighted
Authorize.Net Developer
Posts: 18
Registered: ‎11-27-2017

Re: Trying to integrate Accept.js. But get E_WC_03

Your Implementation looks good to me,

can you check your console also if its printing anything there?

 

Thanks,

 

 

 

 

Highlighted
Member
Posts: 3
Registered: ‎01-10-2018

Re: Trying to integrate Accept.js. But get E_WC_03

It says:

 

Accept.js is not loaded correctly

Highlighted
Member
Posts: 1
Registered: ‎01-10-2018

Re: Trying to integrate Accept.js. But get E_WC_03

Is this because of Authorize.net CDN issue?

There are many merchants (their developers) having the same issue.

We can't even proceed further because the initial request can't be made

This must be Authorize.net issue.

 

I am asking to the Administrator of this community. What is the issue?

 

 

Highlighted
Posts: 333
Kudos: 59
Solutions: 36
Registered: ‎03-13-2017

Re: Trying to integrate Accept.js. But get E_WC_03

Hi @seocim @Shoagraw

 

We are not aware of any such issues with Accept.js currently . 


if you are still facing the issue please reach out to the support team 1.877.447.3938 to open a support ticket for it . 





Send feedback at developer_feedback@authorize.net
Highlighted
Member
Posts: 4
Registered: ‎08-09-2018

Re: Trying to integrate Accept.js. But get E_WC_03

We also have quite some compaints of E_WC_03 error. 

Hope to get help from admin.

Thanks