WARNING! You're browsing the documentation for an old version of laravel-payhere. Consider upgrading your project to 3.x.
PayHere JS
PayHere has its own Javascript SDK to initiate the PayHere onsite checkout. you can load the Javascript SDK by placing the @payhereJS Blade directive right before your application layout's closing </head> tag:
<head> @payhereJS</head>