cancel
Showing results for 
Search instead for 
Did you mean: 

AcceptJS for ACH or Card in same form

Is there a way for Hosted AcceptJS to display both ACH or Card payment options for a payor in the same dialog, similar to the options in getHostedPaymentPageRequest? I only see where you specify which dialog to display, based on options passed in.

 

Bill

martin1b
Contributor
1 REPLY 1

Hi @martin1b

 

Currently we only support cards  for Hosted Accept.js . 


You can use the Accept.js with your custom UI to accept payments with Echeck . 

 

 

https://developer.authorize.net/api/reference/features/acceptjs.html#Integrating_Accept.js_into_Your...

 

 

<script type="text/javascript">
function sendPaymentDataToAnet() {
var authData = {};
authData.clientKey = "YOUR PUBLIC CLIENT KEY";
authData.apiLoginID = "YOUR API LOGIN ID";

var bankData = {};
bankData.accountNumber = document.getElementById('accountNumber').value;
bankData.routingNumber = document.getElementById('routingNumber').value;
bankData.nameOnAccount = document.getElementById('nameOnAccount').value;
bankData.accountType = document.getElementById('accountType').value;
}
</script>

 

We are working to add support for Echeck in Hosted Accept.js  but dont have a release date for it yet . 

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net
Anurag
Moderator Moderator
Moderator