Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2021
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
i want create payment by my custom EFTPOS device
and this my api code for sending amount and received result
private void SEND()
terminalSerialPort.PortName = cmbSerialPortNames.SelectedValue.ToString();
terminalSerialPort.BaudRate = 115200;
terminalSerialPort.DataReceived += new SerialDataReceivedEventHandler(DataReceivedHandler);
// terminalSerialPort.WriteLine("\x02"+ textBox1.Text + "\x03");
System.Globalization.CultureInfo info = System.Threading.Thread.CurrentThread.CurrentCulture;
string s = Decimal.Parse(textBox1.Text).ToString("0000000000.00", info).Replace(info.NumberFormat.NumberDecimalSeparator, String.Empty);
byte bytes = System.Text.Encoding.ASCII.GetBytes("0005" + s);
terminalSerialPort.Write(STX, 0, 1);
terminalSerialPort.Write(bytes, 0, bytes.Length);
terminalSerialPort.Write(ETX, 0, 1);
catch (Exception ex)
MessageBox.Show(ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
so i've started worked on PaymentDeviceSample and i'm new in D365 development
where i must include or call my API code in PaymentDeviceSample ?
As this question is customization related, I will leave this for the community to answer. Let's see if anybody has experienced the same and can advise for you anything.
Business Applications communities