laravel-payhere

WARNING! You're browsing the documentation for an old version of laravel-payhere. Consider upgrading your project to 3.x.

Billable Model

You should add the Billable trait to your user model definition. this trait provides various methods to perform common billing tasks, such as initiating different types of checkouts and creating subscriptions.

use PayHere\Billable;
 
class User extends Authenticatable
{
use Billable;
}