<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Laravel payhere integration]]></title><description><![CDATA[<p dir="auto"><strong>Laravel walata payhere payment gateway checkout api eka integration karapu kenek innawada?</strong></p>
<p dir="auto">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</p>
<pre><code>//up more codes for db and etc

$post = array(

    'merchant_id' =&gt; '1213296',
    'return_url' =&gt; 'http://kali/return',
    'cancel_url' =&gt; 'http://kali/cancel',
    'notify_url' =&gt; 'http://kali/notify',
    'order_id' =&gt; 'ItemNo12345',
    'items' =&gt; 'Door bell wireless',
    'currency' =&gt; 'LKR',
    'amount' =&gt; '1000',
    'first_name' =&gt; 'Saman',
    'last_name' =&gt; 'Perera',
    'email' =&gt; 'samanp@gmail.com',
    'phone' =&gt; '0771234567',
    'address' =&gt; 'No.1, Galle Road',
    'city' =&gt; 'Colombo',
    'country' =&gt; 'Sri Lanka'

    );

return redirect('https://sandbox.payhere.lk/pay/checkout')-&gt;with('post', $post);
</code></pre>
<p dir="auto">data db ekata gihilla sandbox url ekata redirect wenawa but sandbox ekedi man pass karana data mukut gahanne na merchant error enawa</p>
<p dir="auto"><img src="/assets/uploads/files/1576413018398-payhere.jpeg" alt="payhere.jpeg" class=" img-responsive img-markdown" /></p>
]]></description><link>https://lankadevelopers.lk/topic/453/laravel-payhere-integration</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 17:24:18 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/453.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Dec 2019 12:34:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Laravel payhere integration on Sun, 08 Nov 2020 18:08:09 GMT]]></title><description><![CDATA[<p dir="auto">mata therenne na ai oya me form vairables server side eken redirect karanne kiyala methana credit card wisthara monawath na . nikam amount ekak witharai thiyenne payhere egollonge server (SITE) ekedi thama credit card info type karanna kiyanne. oyata me form auto submit karanna puluwan oyage route ekak athule view eke hadala javascript walin</p>
<p dir="auto">&lt;form id="myForm" action="Page_C.php" method="post"&gt;<br />
&lt;?php<br />
foreach ($_POST as $a =&gt; $b) {<br />
echo '&lt;input type="hidden" name="'.htmlentities($a).'" value="'.htmlentities($b).'"&gt;';<br />
}<br />
?&gt;<br />
&lt;/form&gt;<br />
&lt;script type="text/javascript"&gt;<br />
document.getElementById('myForm').submit();<br />
&lt;/script&gt;</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/27">@root</a><br />
me kiyanne checkout karaddi (&lt;form method="post" action="<a href="https://sandbox.payhere.lk/pay/checkout" target="_blank" rel="noopener noreferrer nofollow ugc">https://sandbox.payhere.lk/pay/checkout</a>"&gt; form eka submit karaddi)<br />
eke form entities wenama pahala thawa route ekakin java script walin submit karala e form data wenama database update karaganna kiyala neda.</p>
]]></description><link>https://lankadevelopers.lk/post/4054</link><guid isPermaLink="true">https://lankadevelopers.lk/post/4054</guid><dc:creator><![CDATA[madu]]></dc:creator><pubDate>Sun, 08 Nov 2020 18:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Tue, 26 May 2020 18:37:00 GMT]]></title><description><![CDATA[<p dir="auto">REST_Controller ekak ekak athule idan payhere site ekata data pass karanne kohomada.. php project ekak curl use karanna puluwanda postman use karana puluwanda</p>
]]></description><link>https://lankadevelopers.lk/post/3428</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3428</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Tue, 26 May 2020 18:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:32:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a> OK mn balannam a tika..</p>
]]></description><link>https://lankadevelopers.lk/post/3418</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3418</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:31:29 GMT]]></title><description><![CDATA[<p dir="auto">database eke columns tika hariytama tiyenna one, notify url eka workd kiyala balannapuluwan db eka update unhm</p>
]]></description><link>https://lankadevelopers.lk/post/3417</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3417</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 19:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:29:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a></a> hmmm mn balannam.. Thanks <a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a></a>  &amp; <a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a></p>
]]></description><link>https://lankadevelopers.lk/post/3416</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3416</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:29:49 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:28:07 GMT]]></title><description><![CDATA[<p dir="auto">Notify controller eka me wage set wenna one, return url eka enawa kiyanne notify url eka aniwa ubata enawa but eka blind ena nisa ube errors pennane na, eka parin work kale nattam reload karaddi aye data ennet na</p>
<pre><code>    public function payhere_notify(Request $request){

    	$merchant_id         = $request-&gt;input('merchant_id');
		$order_id             = $request-&gt;input('order_id');
		$payhere_amount     = $request-&gt;input('payhere_amount');
		$payhere_currency    = $request-&gt;input('payhere_currency');
		$status_code         = $request-&gt;input('status_code');
		$method				= $request-&gt;input('method');
		$status_message		= $request-&gt;input('status_message');
		$card_holder_name	= $request-&gt;input('card_holder_name');
		$card_no 			= $request-&gt;input('card_no');
		$card_expiry		= $request-&gt;input('card_expiry');


		$md5sig                = $request-&gt;input('md5sig');
		
		$merchant_secret = 'XXXXXXX';


		$local_md5sig = strtoupper (md5 ( $merchant_id . $order_id . $payhere_amount . $payhere_currency . $status_code . strtoupper(md5($merchant_secret)) ) );

		if (($local_md5sig === $md5sig) AND ($status_code == 2) ){
			
			$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);


			}

		elseif (($local_md5sig === $md5sig) AND ($status_code == 0) ){
        	
        	$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);

			}



		elseif (($local_md5sig === $md5sig) AND ($status_code == -1) ){
        	
        	$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);

			}


		elseif (($local_md5sig === $md5sig) AND ($status_code == -2) ){
        	
        	$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);

			}


		elseif (($local_md5sig === $md5sig) AND ($status_code == -3) ){
        	
        	$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);

			}


		else {
        	
        	$statu = $status_code;
        	$payment_up = Payhere::payment_st_update($order_id, $statu, $method, $status_message, $card_holder_name, $card_no, $card_expiry);
        	$pay_st = Payhere::pay_st_update($order_id, $statu);

			}

    }```</code></pre>
]]></description><link>https://lankadevelopers.lk/post/3415</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3415</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 19:28:07 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:25:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1367">@SI</a> Server eke access logs blpn machn notify URL ekata request awilla tynwda kyla</p>
]]></description><link>https://lankadevelopers.lk/post/3414</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3414</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Mon, 25 May 2020 19:25:51 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:24:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a>  me hadala thiyena widiyata notify funtion ekak hadala thiyenne. live server ekedi calle wenne ne me funtion eka.. eka thamai awla.. notify calle wenne nethi hethuwak thiyenawada?</p>
]]></description><link>https://lankadevelopers.lk/post/3413</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3413</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:22:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a>  ow ehema karama nam prashne hari.. eeth mage notify funtion eka calle wenne ne.. eke thamai mn database update karala thiyenne. ai a?</p>
]]></description><link>https://lankadevelopers.lk/post/3412</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3412</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:22:55 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:21:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1367">@SI</a> server eke access logs blpn, notify url ekata request awilla tynwda kyla</p>
]]></description><link>https://lankadevelopers.lk/post/3411</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3411</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Mon, 25 May 2020 19:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:20:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a> mn live eke thamai me dewal karanne. domain eke nama test kiyala thiyenne. live eke notify funtion eka athule database update query ekak gahala thiyenawa. eeth update wenne ne..</p>
]]></description><link>https://lankadevelopers.lk/post/3410</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3410</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:20:49 GMT]]></title><description><![CDATA[<p dir="auto">Ita passe notify url eke process tika ube controller eke hadanna one, ubata payhere eken direct ewanne na notify url eka, blind karala ewanne eka nisa errors pennane na, ube route ekata /payment/notif dala controller ehekata pass krhn controller eken, uba ```</p>
<pre><code>$merchant_id         = $_POST['merchant_id'];
$order_id             = $_POST['order_id'];
$payhere_amount     = $_POST['payhere_amount'];
$payhere_currency    = $_POST['payhere_currency'];
$status_code         = $_POST['status_code'];
$md5sig                = $_POST['md5sig'];

$merchant_secret = 'XXXXXXXXXXXXX'; // Replace with your Merchant Secret (Can be found on your PayHere account's Settings page)

$local_md5sig = strtoupper (md5 ( $merchant_id . $order_id . $payhere_amount . $payhere_currency . $status_code . strtoupper(md5($merchant_secret)) ) );

if (($local_md5sig === $md5sig) AND ($status_code == 2) ){
        //TODO: Update your database as payment success
}

ubata data base eka update karaganna witari puluwan notify eken, redirect ekata ita passe hadaganin data base status eka anuwa</code></pre>
]]></description><link>https://lankadevelopers.lk/post/3409</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3409</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 19:20:49 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:20:47 GMT]]></title><description><![CDATA[<p dir="auto">oyage return url eka GET ekak krnna,</p>
]]></description><link>https://lankadevelopers.lk/post/3408</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3408</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Mon, 25 May 2020 19:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:20:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1367">@SI</a> macahn return url eka GET ekak tamai enne norify url eka tamai POST ekak enne</p>
]]></description><link>https://lankadevelopers.lk/post/3407</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3407</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Mon, 25 May 2020 19:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:15:44 GMT]]></title><description><![CDATA[<p dir="auto">Pahadili, Localhost ekedi notify karaganna ba, return url eka ube browser eke load wenawa ube ube "host -dns" walat "localhost or <a href="http://test.lk" target="_blank" rel="noopener noreferrer nofollow ugc">test.lk</a>" tiyena nisa but ubata data back wenne na me url walat data back wenna nam real ip ekak thought real domain ehekin ube lap ekata set karaganna one, ubata wifi router ekak tiyenawa nam ube network providerta call karala public ip ekak illaganin (free denawa) ita passe router ekata log wela port forwarding karapan ube lap eke local ipekata port 80 and 443 cloudflare use karala ube domain name eka ube gattu public ip ekata point karahan</p>
]]></description><link>https://lankadevelopers.lk/post/3405</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3405</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 19:15:44 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:13:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a> ow oi tika wenawa. mage site ekata payhere eken ewanne GET ekak widiyata.. eeth mn hadala thiyenne POST URL ekak.pahala thiyenen mn hadapu URL 3</p>
<p dir="auto">$app-&gt;POST('/payment/notif', PublicJobs::class . ':notify');<br />
$app-&gt;POST('/payment/cancel', PublicJobs::class . ':cancel');<br />
$app-&gt;POST('/payment/return', PublicJobs::class . ':return');</p>
]]></description><link>https://lankadevelopers.lk/post/3404</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3404</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:13:35 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:11:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a> ow payhere ekata yanawa payment okkoma update wenawa.. eeta passe apassata mage site ekata enakota mama dila thiyena POST URL ekata enawa.. eeth payhere eken ewanne  GET url ekak a nisa "Method not allowed. Must be one of: POST" kiyanawa. anika mage  notify funtion ekata calle wenneth ne</p>
]]></description><link>https://lankadevelopers.lk/post/3403</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3403</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:11:28 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:09:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1219">@alwismt</a> pass wenawa eeth return karanne get ekak mn pahala ewannam return karana URL eka.. mage notify funtion eka call wenneth ne</p>
<p dir="auto"><a href="http://test.lk/payment/return?order_id=112" target="_blank" rel="noopener noreferrer nofollow ugc">test.lk/payment/return?order_id=112</a></p>
]]></description><link>https://lankadevelopers.lk/post/3402</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3402</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 19:09:23 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:07:23 GMT]]></title><description><![CDATA[<p dir="auto">![alt text](<img src="/assets/uploads/files/1590433558557-screenshot_20200526_003439.png" alt="Screenshot_20200526_003439.png" class=" img-responsive img-markdown" /> image url)</p>
<p dir="auto">site eken payhere ekata hariyata redirect wenawada? Ita passe Payhere eke methanata details fill karala pay click karata ube site eke url ekata "payhere/redirect" back wenawada</p>
]]></description><link>https://lankadevelopers.lk/post/3401</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3401</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 19:07:23 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 19:00:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1367">@SI</a> therune na machan, payhere site ekta redirect wenwda payment eka krnna?</p>
]]></description><link>https://lankadevelopers.lk/post/3400</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3400</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Mon, 25 May 2020 19:00:59 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 18:59:54 GMT]]></title><description><![CDATA[<p dir="auto">Pahadili na, Payhere eken payment process eka pass karanawada? "Siteurl/Payment/return" me url return wenawada payment process eken passe?</p>
]]></description><link>https://lankadevelopers.lk/post/3399</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3399</guid><dc:creator><![CDATA[alwismt]]></dc:creator><pubDate>Mon, 25 May 2020 18:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 18:50:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1367">@SI</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a>  poddak dannawanam me payhere prashne mokadda balanawada</p>
]]></description><link>https://lankadevelopers.lk/post/3398</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3398</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 18:50:49 GMT</pubDate></item><item><title><![CDATA[Reply to Laravel payhere integration on Mon, 25 May 2020 18:37:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/27">@root</a><br />
mama controller eken view ekata pahala thiyena widiyata data tika pass karanawa.</p>
<h2>controller</h2>
<pre><code>        $payhere_currency = 'LKR';
        $payhere_secret='***';
        $merchant_id= '***';

        $this-&gt;data = [
            'order' =&gt; $order,
            'total' =&gt; $grand_total,
            'merchant'=&gt; $merchant_id,
        ];

        return $this-&gt;view($response, 'payhere.twig');
</code></pre>
<hr />
<p dir="auto">view</p>
<h2>&lt;form action="<a href="https://sandbox.payhere.lk/pay/checkout" target="_blank" rel="noopener noreferrer nofollow ugc">https://sandbox.payhere.lk/pay/checkout</a>" method="POST"&gt;<br />
&lt;input type="hidden" name="merchant_id" value="{{merchant}}"&gt;    &lt;!-- Replace your Merchant ID --&gt;<br />
&lt;input type="hidden" name="notify_url" value="{{'/payment/notify'|page}}"&gt;<br />
&lt;input type="hidden" name="cancel_url" value="{{'/payment/cancel'|page}}"&gt;<br />
&lt;input type="hidden" name="return_url" value="{{'/payment/return'|page}}"&gt;<br />
&lt;input type="text" name="order_id" value="{{order}}"&gt;<br />
&lt;input type="text" name="items" value="Door bell wireless"&gt;&lt;br&gt;<br />
&lt;input type="text" name="currency" value="LKR"&gt;<br />
&lt;input type="text" name="amount" value="{{grand_total}}"&gt;<br />
&lt;input type="submit" value="Continue to checkout" class="btn"&gt;<br />
&lt;/form&gt;</h2>
<p dir="auto">payhere site ekata gihilla  payhere eken ewanne "retutn" ekak..  "notify" ekak nemei</p>
<p dir="auto">$app-&gt;POST('/payment/notif', PublicJobs::class . ':notify');<br />
$app-&gt;POST('/payment/cancel', PublicJobs::class . ':cancel');<br />
$app-&gt;POST('/payment/return', PublicJobs::class . ':return');</p>
<p dir="auto">mn me widiyata POST routes hadala thibunata payhere eken return karanne GET ekak.. notify funtion ekata calle wenneth <a href="http://ne.ai" target="_blank" rel="noopener noreferrer nofollow ugc">ne.ai</a> ehema wenne</p>
]]></description><link>https://lankadevelopers.lk/post/3395</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3395</guid><dc:creator><![CDATA[SI]]></dc:creator><pubDate>Mon, 25 May 2020 18:37:07 GMT</pubDate></item></channel></rss>