You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When processing a CCSale transaction the xName property is missing in the request
To Reproduce
Cardknoxcardknox=newCardknox(newCardknoxReqest(<Key>,<SoftwareName>,<Version>));CCSaleccSale=newCCSale();ccSale.Amount=1.00m;//add the name on cardccSale.Name="Name On Card";ccSale.CardNum="4444333322221111";ccSale.Exp="1234";CardknoxResponseresponse=cardknox.CCSale(ccSale);//now check the transaction in cardknox portal the name on card will be missing
Expected behavior
Name should be included in the request
Additional context
Code to add the name to the request is missing here
// The next many fields are optional and so there will be a lot of if statements here// Optional, but recommendedif(!IsNullOrWhiteSpace(_sale.Street))_values.Add("xStreet",_sale.Street);if(!IsNullOrWhiteSpace(_sale.Zip))_values.Add("xZip",_sale.Zip);
I'll add the required code, test it and make a pull request
The text was updated successfully, but these errors were encountered:
mfried40
changed the title
xName missing in CCSale transactions
xName missing in CCSale, CCAuth, CCCapture, CCCredit, transactions
May 30, 2024
Describe the bug
When processing a CCSale transaction the xName property is missing in the request
To Reproduce
Expected behavior
Name should be included in the request
Additional context
Code to add the name to the request is missing here
I'll add the required code, test it and make a pull request
The text was updated successfully, but these errors were encountered: