Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions & drivers required for Wired Connection #1

Open
veerendra-shakya opened this issue Feb 5, 2024 · 0 comments
Open

Instructions & drivers required for Wired Connection #1

veerendra-shakya opened this issue Feb 5, 2024 · 0 comments

Comments

@veerendra-shakya
Copy link

veerendra-shakya commented Feb 5, 2024

i am trying to run Wired Connection Paytm_EDC/wired /netV4.0/[PaytmWindowsForm.exe

(https://github.com/paytm/Paytm_EDC/blob/main/wired%20/netV4.0/PaytmWindowsForm.exe)

also checked developer documentation
https://business.paytm.com/docs/pos-edc-wired-connection-overview?ref=poswiredconnection

i am on windows 11, POS connected with PC with default ADB drivers, POS connected on COM8 port but connection status is not successful, is there any specific serial or ADB driver need to be used ? please provide more instructions.

image

Test Sale from PaytmWindowsForm.exe
image

Test Sale from Visual Studio
code is as follows

    static void Main(string[] args)
    {
        Payments payments = new Payments();

        try
        {
            string status = payments.Sale("COM10", 115200, 0, 8, 1, 1, "bSYOOV26221325080650","00014","ALL","1000", "FOOD:2|GIFT:6",
                "extendInfo://values?productValidationValue=12764874894894898&merchantTxnId=82938938983&caNumber=34567777",
                "printInfo://values?merchantTxnId=82938938983&caNumber=34567777&billNumber=xyz123",
                "gstInformation://values?gstIn=08TESTF0078P1ZP&gstBrkUp=CGST:10|SGST:10| IGST:10| CESS:10| GSTIncentive:10| GSTPCT:10&invoiceNo=Invoice34234321&invoiceDate=2019-06-11T13:21:50+05:30",
                "ALL");
            Console.WriteLine(status);
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
        }

        Console.ReadLine();
    }

i am getting this error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant