@Kasun-Anuradha hari giyada? danui dakke. :)
Posts made by malinga91
-
RE: DirectPay Payment geteway to Laravel integrate krpu kenk inwad ? Need helpposted in Laravel Framework
-
RE: DirectPay Payment geteway to Laravel integrate krpu kenk inwad ? Need helpposted in Laravel Framework
Documentation ekak denawa neda eyala service eka offer karanakota?
-
RE: Free JetBrains Licensesposted in Artificial Intelligence
Thank you..
I tried to activate this. but it says only valid until September 19, 2023. How to activate for at least 1 year?
-
RE: Sampath bank eke payment gateway udauwwakposted in Web Development
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/checkoutconfig/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> -
RE: How to properly integrate Payhere to Laravel ? Need Helpposted in Laravel Framework
@Coding-Labs notify_url url eke request method eka POST da thiyenneh balanna. netnam Route::any('notify_url', function()) daala Log ekak daala balanna request eke monawada enneh kiyala.
-
Bitbucket to cPanel deploymentposted in Back-End Development
මගේ repository එකක් තියෙනවා Bitbucket වල. cPanel තියෙන VPS එකක් එක්ක connect කරන්නේ කොහොමද automatically deploy වෙන්න.
දැනට repository එක SSH වලින් clone කරලා තියෙන්නේ cPanel එකේ. Local changes Bitbucket එකට push කරලා. cPanel SSH වලින් pull කරනවා.
Bitbucket වලට push කරහම cPanel එකට auto deploy වෙන්න ක්රමයක්?
-
RE: String vidhiyata values ena variable ekak double walata convert karala lat lang walata assign kranne kohomada ?posted in Android Development
Android nam karala nehe man. man nikan google karala beluwe
-
RE: සිංහලෙන් VPS Installation ( Ubuntu + NGINX + php-fpm + WordPress) - LEMPposted in System & Network Configurations
@root said in සිංහලෙන් VPS Installation ( Ubuntu + NGINX + php-fpm + WordPress) - LEMP:
Mokadda server eka Apache da nginx da ??
@root
Apache/2.2.34 (Unix) -
RE: සිංහලෙන් VPS Installation ( Ubuntu + NGINX + php-fpm + WordPress) - LEMPposted in System & Network Configurations
Hoya hoya hitapu ekak. <3
@chandiama
Mata issu ekak thiyenawa. man VPS eke subdomain ekak haduwa. eke
"This site can’t be reached sub.mydomain.org’s server IP address could not be found." kiyala enawa. Kohomada fix kara ganne? -
How to send estimation for maintenance of PHP based web site.posted in Front-End Development
I have to send an estimation for web site maintenance. What should be included there?
Can someone show me an example? -
Embedable widget එකක්හ දන්නේ කොහොමද?posted in Front-End Development
HTML වලින් කරුපු calculator එකක් තියෙනවා. ඒක web pages වල embed කරන්නේ කොහොමද?
Ex : page.html
<div id="stamp-duty-calculator" class="grey-theme hidden"> </div> <script id="stamp-src" type="text/javascript" data-state="All" src="//calculatorsonline.com.au/external/!main/stamp_duty.min.js"></script>මං iframe වලින් try කරා. ඒත් height එක dynamic කරන්න බැහැ නේද? load වෙද්දිම 100% height එක එන්න ඕන.
npm package එකක් උනත් කමක් නෑ ක්රමයක් තියෙනම්.
-
RE: Python - උදව්වක් (දෙන ලද කාලයට අනුව function එකක් call කරන්න)posted in Programming
@root man try kara machan. weda. eth tkinter ekka use karaddi window eka open wenne nehe. :(
-
RE: Python - උදව්වක් (දෙන ලද කාලයට අනුව function එකක් call කරන්න)posted in Programming
@root Thanks machan. Man try karala balannam
-
Python - උදව්වක් (දෙන ලද කාලයට අනුව function එකක් call කරන්න)posted in Programming
Python experts.. උදව්වක් ඕන... මං පොඩි program එකක් ලිව්වා. එකේදි වෙන්නේ define කරපු වේලාවල් වලදි function එකක් call කරන එක. දැනට වෙන්නේ තත්පරෙන් තත්පරෙට check කරනවා දීපු time එකයි, දැන් time එකයි සමානද කියලා. මීට වඩා හොද විදියක් තියෙනවද?
from datetime import datetime #Times tuple timesTuple = ("09:37:00 PM", "09:38:00 PM", "09:39:00 PM", "10:33:00 PM", "10:50:00 PM", "11:30:00 PM", "12:10:00 PM", "12:50:00 PM", "01:30:00 PM") # This function is used to # display time on the label def time(): datetime_object = datetime.today() now = datetime.strftime(datetime_object,'%l:%M:%S %p') for x in timesTuple: timeOne = datetime.strftime(datetime.strptime(x, "%I:%M:%S %p"),'%l:%M:%S %p') if now == timeOne: playSound() print("Fire bell at : " + x) print("------------") #execute timer time() -
MS Word - type කරනකොට (මි,වි) මැකෙනවාposted in Windows
MS Word - 2016, WIndows 10
මි, වි අකුරු ටයිප් කරද්දි View Mode එක Web View එකට මාරුවෙනවා. ටයිප් කරපු අකුර (මි,වි) මැකෙනවා සහ preview mode එකට යනවා. මම පාවිච්චි කරන්නේ HarshSoft s/w එක.