Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. dev_lak
    3. Posts
    • Profile
    • Following 5
    • Followers 28
    • Topics 31
    • Posts 460
    • Best 151
    • Controversial 0
    • Groups 3

    Posts made by dev_lak

    • RE: how to insert data to a txt file from a c++ program

      great bro...

      posted in Programming
      dev_lak
      dev_lak
    • RE: Colombo js meetup - neutralinojs

      thanks malith

      posted in Meetups & Workshop Sessions ( Free & Paid )
      dev_lak
      dev_lak
    • RE: How to fix this

      what is the content rating you get?

      posted in Android Development
      dev_lak
      dev_lak
    • Need help in flutter

      any flutter developer here? need help

      posted in Mobile Application Development
      dev_lak
      dev_lak
    • RE: Preview Issues, When share Lankadevelopers posts.

      Thanks for reporting, will work on this issue.

      posted in Comments & Feedback
      dev_lak
      dev_lak
    • RE: Corda Bootcamp

      thanks bro

      posted in Meetups & Workshop Sessions ( Free & Paid )
      dev_lak
      dev_lak
    • RE: C# Problem

      mokak sambandawada?

      posted in Programming
      dev_lak
      dev_lak
    • RE: How to create a config file

      @Malith FYA

      posted in Programming
      dev_lak
      dev_lak
    • RE: Sampath bank eke payment gateway udauwwak

      hari test eka hadala eke issue ekk awot kyanna, sample code ekak denawa samanyen doc eke

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Sampath bank eke payment gateway udauwwak

      gateway eke documentation eka tyenwd?

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Sampath bank eke payment gateway udauwwak

      mkkda aula?

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Flutter - Meetup එකට කවුද යන්නේ

      Mama yanawa

      posted in Meetups & Workshop Sessions ( Free & Paid )
      dev_lak
      dev_lak
    • RE: Flutter - Meetup

      @Malith yaman machn mn enwa

      posted in Events ( Free & Paid )
      dev_lak
      dev_lak
    • RE: Flutter - Meetup

      thanks malith

      posted in Events ( Free & Paid )
      dev_lak
      dev_lak
    • RE: Build Your Telegram Python Bot ( Sinhala Tutorial )

      ftta bro,, keep it up

      posted in AI Programming
      dev_lak
      dev_lak
    • RE: Help me on Payment Gateway in PHP

      @Theesan

      <?php
      // A sample PHP Script to POST data using cURL
      // Data in JSON format
       
      $data = array(
          'username' => 'tecadmin',
          'password' => '012345678'
      );
       
      $payload = json_encode($data);
       
      // Prepare new cURL resource
      $ch = curl_init('https://api.example.com/api/1.0/user/login');
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
      curl_setopt($ch, CURLINFO_HEADER_OUT, true);
      curl_setopt($ch, CURLOPT_POST, true);
      curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
       
      // Set HTTP Header for POST request 
      curl_setopt($ch, CURLOPT_HTTPHEADER, array(
          'Content-Type: application/json',
          'Content-Length: ' . strlen($payload))
      );
       
      // Submit the POST request
      $result = curl_exec($ch);
       
      // Close cURL session handle
      curl_close($ch);
       
      ?>
      

      this is a curl example.

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Help me on Payment Gateway in PHP

      @Theesan in this doc, they have 4 checkout models, first decide what is suitable model for you,

      1. Hosted Checkout
      2. Hosted Session
      3. Direct Payment
      4. Batch

      and then read the relavant integration guid,
      and also this doc has some sample codes, see this - https://test-gateway.mastercard.com/api/documentation/downloads/index.html?locale=en_US

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Help me on Payment Gateway in PHP

      have you received the API doc from bank? all the details are in that document, if you share the API document, we can help you

      posted in Web Development
      dev_lak
      dev_lak
    • RE: Beginners tutorial C++ (part 2 variables and data types)

      digtm danna machn

      posted in Programming
      dev_lak
      dev_lak
    • RE: Beginners tutorial for C++ (tutorial 1)

      thank you, gdk watinwa

      posted in Programming
      dev_lak
      dev_lak
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 22
    • 23
    • 14 / 23