Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    Sampath bank eke payment gateway udauwwak

    Web Development
    laravel payment gateway php
    7
    20
    3091
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jtta6 last edited by

      Sampath bank eke payment gateway eka php laravel ekka integrate kala kauru hari innawada. komada karanne meka.

      1 Reply Last reply Reply Quote 0
      • dev_lak
        dev_lak last edited by

        mkkda aula?

        achila nilaweera 1 Reply Last reply Reply Quote 0
        • J
          jtta6 last edited by jtta6

          mn danne ne kohomada karanne kiyala. pycorp eken karanna tiyenne. mn kalin karala ne. loku idea ekak ne mata integrate karanne kohomada kiyala.

          1 Reply Last reply Reply Quote 0
          • dev_lak
            dev_lak last edited by

            gateway eke documentation eka tyenwd?

            1 Reply Last reply Reply Quote 0
            • J
              jtta6 last edited by

              ow eke wisthara okkoma ewwa. eke widihata mn test ekak hadanawa

              1 Reply Last reply Reply Quote 0
              • dev_lak
                dev_lak last edited by

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

                1 Reply Last reply Reply Quote 0
                • J
                  jtta6 last edited by

                  meke laravel walata library ekak ne. Javascript walin karanne. Order ekak submit purchace kalama bank order eka wenne javascript ekenda. order eka php request ekak widihata yawanawada server ekata

                  1 Reply Last reply Reply Quote 0
                  • root
                    root Linux Help last edited by

                    @jtta6 machan mekath sampath bank ekema thmai. balanna me values tikama thamai egoillonge main payment gateway ekatath yawanne. example ekak widiyata meka balanna

                    https://support.payhere.lk/api-&-mobile-sdk/payhere-checkout

                    1 Reply Last reply Reply Quote 0
                    • Munasinghe Arachchige Tharindu Dhananjaya
                      Munasinghe Arachchige Tharindu Dhananjaya last edited by

                      Is there any tutorials about these??

                      root 1 Reply Last reply Reply Quote 0
                      • root
                        root Linux Help @Munasinghe Arachchige Tharindu Dhananjaya last edited by root

                        @Munasinghe-Arachchige-Tharindu-Dhananjaya

                        @dev_lak can we create tutorials for srilankan payment gateway integration with php and node ??

                        dev_lak 1 Reply Last reply Reply Quote 0
                        • dev_lak
                          dev_lak @root last edited by

                          @root is they have public Gateway documentation?

                          root 1 Reply Last reply Reply Quote 0
                          • root
                            root Linux Help @dev_lak last edited by

                            @dev_lak

                            we have to find the informations, i have a friend in sampath bank i'll try to get information from him.

                            dev_lak 1 Reply Last reply Reply Quote 1
                            • dev_lak
                              dev_lak @root last edited by

                              @root then we can make tutorials, but we need a sandbox account too for test is it working or not

                              root 1 Reply Last reply Reply Quote 0
                              • root
                                root Linux Help @dev_lak last edited by

                                @dev_lak

                                i think they don't provide sandbox for public, but we can create a process of intergration

                                dev_lak 1 Reply Last reply Reply Quote 0
                                • dev_lak
                                  dev_lak @root last edited by

                                  @root hmm,, i also try to find api documentations, and i will make tutorials for php, node and add to github

                                  root 1 Reply Last reply Reply Quote 1
                                  • root
                                    root Linux Help @dev_lak last edited by

                                    @dev_lak

                                    thanks bro.

                                    1 Reply Last reply Reply Quote 1
                                    • isuru mahesh perera
                                      isuru mahesh perera last edited by isuru mahesh perera

                                      meka balapn machn meke thiyanawa https://paycorp-international.gitbook.io/quick-web/
                                      awulak awoth kiyapn mn lagadi paycorp eka use kara.

                                      1 Reply Last reply Reply Quote 1
                                      • achila nilaweera
                                        achila nilaweera @dev_lak last edited by achila nilaweera

                                        @dev_lak
                                        Can you help me to add three client IDs to the Sampath bank payment gateway plugin. It has only one client ID at a time.How can I add 3 client IDs to wp plugin

                                        dev_lak 1 Reply Last reply Reply Quote 0
                                        • dev_lak
                                          dev_lak @achila nilaweera last edited by

                                          @achila-nilaweera bro WP plugin eka edit karanna wei ehnam, mn WP gananam wadiya dnnha bro

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            malinga91 last edited by

                                            Payhere api url ekata POST request ekak yawanna tiyenne. HTML form ekak hadala eka submit karanna thiyenne. Form eke action ekata danna ona Payhere API URL eka. Oyage domain eka payhere eke whitelist karanna ona kalin. ethakota oyage domain eke idan POST request yawanna puluwan. ekata aniwayen ona fields tiyenawa. (email, name, address, amount wage ewa). me tiyenne man karapu widiya.

                                            .env file

                                            PAYHERE_MERCHENT_ID=24333554141
                                            PAYHERE_SECRET=8xxxxxxxxxxxxxxxxxxxxxxxxxJ7J
                                            PAYHERE_API_URL=https://sandbox.payhere.lk/pay/checkout
                                            

                                            config/payhere.php

                                            return [
                                                'api_url'       => env('PAYHERE_API_URL', 'https://sandbox.payhere.lk/pay/checkout'),
                                                'merchant_id'   => env('PAYHERE_MERCHENT_ID', 'no_merchent'),
                                                'secret'        => env('PAYHERE_SECRET', 'no_secrete'),
                                                'return_url'    => env('PAYHERE_RETURN_URL', config('app.url') . '/checkout/return'),
                                                'notify_url'    => env('PAYHERE_NOTIFY_URL', config('app.url') . '/checkout/notify'),
                                                'cancel_url'    => env('PAYHERE_CANCEL_URL', config('app.url') . '/checkout/cancel'),
                                            ];
                                            
                                            

                                            Submit Order details (amount, items, name, etc)

                                            <form class="width:100%" method="post" action="{{ config('payhere.api_url')}}">
                                            @csrf
                                            <input type="hidden" name="merchant_id" value="{{ config('payhere.merchant_id') }}">
                                            <input type="hidden" name="return_url" value="{{ config('payhere.return_url') }}">
                                            <input type="hidden" name="cancel_url" value="{{ config('payhere.cancel_url') }}">
                                            <input type="hidden" name="notify_url" value="{{ config('payhere.notify_url') }}">
                                            <input type="hidden" name="order_id" value="{{ $order->reference }}">
                                            <input type="hidden" name="items" value="My Packages">
                                            <input type="hidden" name="currency" value="{{ $order->currency }}">
                                            <input type="hidden" name="amount" value="{{ $order->amount }}">
                                            <input type="hidden" name="first_name" value="{{ $order->first_name }}">
                                            <input type="hidden" name="last_name" value="{{ $order->last_name }}">
                                            <input type="hidden" name="email" value="{{ $order->email }}">
                                            <input type="hidden" name="phone" value="{{ $order->phone }}">
                                            <input type="hidden" name="address" value="{{ $order->address }}">
                                            <input type="hidden" name="city" value="{{ $order->city }}">
                                            <input type="hidden" name="country" value="{{ $order->country }}">
                                            <input type="hidden" name="hash" value="{{ $order->hash }}">
                                            
                                            <input type="submit" class="" value="Pay Now">
                                            </form>
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • Referenced by  ciaompe ciaompe 
                                            • 1 / 1
                                            • First post
                                              Last post

                                            0
                                            Online

                                            3.7k
                                            Users

                                            1.3k
                                            Topics

                                            5.3k
                                            Posts

                                            • Privacy
                                            • Terms & Conditions
                                            • Donate

                                            © Copyrights and All right reserved Lanka Developers Community

                                            Powered by Axis Technologies (PVT) Ltd

                                            Made with in Sri Lanka

                                            | |