- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ACH nameonaccount SingleQuote issue
Hi,
As per https://developer.authorize.net/api/reference/features/acceptjs.html
bankData.nameOnAccount = document.getElementById('nameOnAccount').value;
If we have single quote in nameOnAccount , do we need to remove it or we need to escape it?
Our Problem:
We did not remove single quote or replace.
We pass nameOnAccount like below
e.g John O'Corner
Our Code -
bankData.nameOnAccount = $("#AccountName").val();
secureData.bankData = bankData;
In Accept.dispatchData(secureData, responseHandler);
function responseHandler(response) {
if (response.messages.message[i].code == "E_WC_26") {
//It is hitting this block - as per API - "Please provide valid account holder name."
}
}
Can you guys help me.
Am i misiing something.
Karthik.K
โ08-13-2019 09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have encouter the problem and stuch somwhere like that.
I will recommend visiting http://www.appsquadz.ae/
โ09-10-2019 03:54 AM

