I can successfully get the token using either Wix Fetch or the Authorize.net Node_Module but I cant get the redirect to work. I don’t get an error it just doesn’t work. Seems like that should be the easy part.
This is how they say it should work using a PHP/HTML example which I cannot seem to implement it in WIX/Corvid:
Here’s an example of the iframe which will contain the Accept Hosted page:
<iframe id="load_payment" class="embed-responsive-item" name="load_payment" width="100%" height="650px" frameborder="0" scrolling="no" hidden="true">
</iframe>
You could then load the Accept Hosted form into your iframe like this:
<form id="send_hptoken" action="https://test.authorize.net/payment/payment" method="post" target="load_payment" >
<input type="hidden" name="token" value="<?php echo $hostedPaymentResponse->token ?>" />
</form>
Any help would be greatly appreciated.
Steve