I am able to get the token from "getHostedPaymentPageRequest" using fetch. Now I am stumped at trying to redirect to the authorize.net payment page. I have seen HTTP examples such as:
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<head>
</head>
<body>
<input type="hidden" name="token" value=token />
Continue to Authorize.Net to Payment Page
<button id="btnContinue">Continue to next page</button>
</form>
</body>
</html>
and the PHP example in the sample program but nothing in javascript that I can use in WIX.
I feel like this shouldn't be that hard but you don't know what you don't know.
Any help would be appreciated.