Include ACH in Accept.Js

Status: Delivered
by dnsBuffaloNY on ‎10-01-2016 12:26 PM

Accept.Js works great!  It allows my website to capture Credit Card information without that data ever posting back to my servers.  I don't any PCI Compliance headaches.

 

My suggestion would be to enhance Accept.JS to also allow for ACH payments.  That is, have accept.JS allow for the capture of a Routing and Account Number.  It could look like this:

 

var secureData = {}, authData = {}, bankData = {};
	
	bankData.routingNumber = document.getElementById('ROUTINGNUMBER_ID').value;
	bankData.accountNumber = document.getElementById('ACCOUNTNUMBER_ID').value;

	secureData.bankData = bankData;

	authData.clientKey = '6WrfHGS76gHW3v7btBCE3HuuBukej96Ztfn5R32G5ep42vne7MCWZtAucY';
	authData.apiLoginID = 'my_api_login_id';
	secureData.authData = authData;
	
	Accept.dispatchData(secureData, 'responseHandler');

Here's a related communit post.

 

https://community.developer.authorize.net/t5/Integration-and-Testing/Accept-JS-and-ACH/m-p/55887#M30...

 

Thank you for your consideration!

Status: Delivered

For those who don't appreciate my efforts to build suspense and excitement, I'll come right out and say it:

 

We've enhanced Accept.js to be able to return a payment nonce incorporating bank account information (for eCheck) instead of just card information. This payment nonce can then be used in exactly the same way as any card-originated payment nonce.

 

The Accept.js documentation hasn't been updated to reflect this yet, but will in the next couple of weeks. In the meantime, the request works just like documented above. You submit a bankData object instead of a cardData object, and the bankData object contains four required parameters. accountType can be either checking, savings, or businessChecking.

Comments
by Administrator Administrator
on ‎11-02-2016 08:22 PM
Status changed to: Accepted
 
by mkokes
on ‎05-18-2017 12:00 PM

Is there an estimated date on when this feature will be added?

by BrandonSurowiec
on ‎06-01-2017 06:31 PM

Can we have an updated on this? Getting ready to add eCheck to a site and would love to be able to implement this easily with Accept.js.

by jhoffman20
on ‎06-27-2017 06:06 PM

I am anxious for this feature as well.  Without it, my options are to change to another payment gateway or sacrifice functionality on my solution.  Please let us know when to expect this!

 

Thanks!

by Administrator Administrator
on ‎06-27-2017 06:08 PM

@jhoffman20 I don't have any details but when I do I'll post them here.

by BrandonSurowiec
on ‎08-29-2017 08:09 AM

@RichardH Any update on ACH with AcceptJS? Looking forward to this ;)

by Administrator Administrator
on ‎08-29-2017 08:33 AM

hello @BrandonSurowiec  The feature is in active development but I don't have a release date available.

by
‎11-06-2017 10:39 AM - edited ‎11-06-2017 10:52 AM

Hi @dnsBuffaloNY,

 

Your sample code looks really good. I think it might look even better if there were just a couple of more elements: 

 

var secureData = {}, authData = {}, bankData = {};
	
	bankData.routingNumber = document.getElementById('ROUTINGNUMBER_ID').value;
	bankData.accountNumber = document.getElementById('ACCOUNTNUMBER_ID').value;
	bankData.nameOnAccount = document.getElementById('ACCOUNTNAME_ID').value;
	bankData.accountType= document.getElementById('ACCOUNTTYPE_ID').value;

	secureData.bankData = bankData;

	authData.clientKey = '6WrfHGS76gHW3v7btBCE3HuuBukej96Ztfn5R32G5ep42vne7MCWZtAucY';
	authData.apiLoginID = 'my_api_login_id';
	secureData.authData = authData;
	
	Accept.dispatchData(secureData, 'responseHandler');

 

Yeah, that looks really good like that.

 

In fact, that looks so good that I'll bet if you submitted that in the dispatchData call to Accept,js right now you might see something special happen...

by dnsBuffaloNY
on ‎11-06-2017 10:42 AM

Wait, are you saying it's done?  In DEV and PROD?

by
on ‎11-06-2017 10:47 AM
Status changed to: Delivered

For those who don't appreciate my efforts to build suspense and excitement, I'll come right out and say it:

 

We've enhanced Accept.js to be able to return a payment nonce incorporating bank account information (for eCheck) instead of just card information. This payment nonce can then be used in exactly the same way as any card-originated payment nonce.

 

The Accept.js documentation hasn't been updated to reflect this yet, but will in the next couple of weeks. In the meantime, the request works just like documented above. You submit a bankData object instead of a cardData object, and the bankData object contains four required parameters. accountType can be either checking, savings, or businessChecking.