You should first read this article properly
https://developer.authorize.net/api/reference/features/acceptjs.html and
you need to find out which js library to add , and if they are linked js
files contain the text "getHostedPaymentPageRequest" . pleas...