Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. alwismt
    3. Best
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 15
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by alwismt

    • Laravel payhere integration

      Laravel walata payhere payment gateway checkout api eka integration karapu kenek innawada?

      Mama mulinma checkout ekdi payhere checkout click karaham products data controller eken db eke payhere table ekata save karanawa, ita passe controller eken return redirect karanawa

      //up more codes for db and etc
      
      $post = array(
      
          'merchant_id' => '1213296',
          'return_url' => 'http://kali/return',
          'cancel_url' => 'http://kali/cancel',
          'notify_url' => 'http://kali/notify',
          'order_id' => 'ItemNo12345',
          'items' => 'Door bell wireless',
          'currency' => 'LKR',
          'amount' => '1000',
          'first_name' => 'Saman',
          'last_name' => 'Perera',
          'email' => '[email protected]',
          'phone' => '0771234567',
          'address' => 'No.1, Galle Road',
          'city' => 'Colombo',
          'country' => 'Sri Lanka'
      
          );
      
      return redirect('https://sandbox.payhere.lk/pay/checkout')->with('post', $post);
      

      data db ekata gihilla sandbox url ekata redirect wenawa but sandbox ekedi man pass karana data mukut gahanne na merchant error enawa

      payhere.jpeg

      posted in Back-End Development
      A
      alwismt
    • 1 / 1