Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 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>
<form method="post" action="https://test.authorize.net/payment/payment" id="formAuthorizeNetTestPage" name="formAuthorizeNetTest...">
<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.
โ04-28-2020 02:46 PM
0 REPLIES 0