Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - 2023 TechTalk Videos
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
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 | 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