Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 3
Registered: ‎04-28-2020

I have a WIX website and am trying to use "Accept Hosted" api.

I am able to get the token from "getHostedPaymentPageRequest" using fetch. Now I am stumped at trying to redirect to the payment page. I have seen HTTP examples such as:


<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

        <input type="hidden" name="token" value=token />
        Continue to Authorize.Net to Payment Page
        <button id="btnContinue">Continue to next page</button>
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.