cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Gets JS error after submit payment form

Getting following error after getting navigated to https://test.authorize.net/payment/payment

url

 

ERROR TypeError: Cannot read property 'billTo' of null
at e.initializeBillingAddress (main.bundle.js:1)

main.bundle.js:1 ERROR TypeError: Cannot read property 'offsetHeight' of null

ashlesha4gsmls
Contributor
1 REPLY 1

Found the problem. Submitting to incorrect URL,

It should not be a forms submit be a JSON call to


Sandbox API Endpoint: https://apitest.authorize.net/xml/v1/request.api

sending a Transaction Object with dataValue init

ashlesha4gsmls
Contributor