Describe your task
Hi guys, i have a problem when i want to get the balance from the default wallet.
To Reproduce
Steps to reproduce the behavior:
I have put the same exact tutorial from the Basic Usage of the Documentation on User model, this is my code
namespace App\Models;
use Bavix\Wallet\Interfaces\Customer;
use Bavix\Wallet\Interfaces\Wallet;
use Bavix\Wallet\Traits\CanPay;
use Bavix\Wallet\Traits\HasWallet;
use Bpuig\Subby\Traits\HasSubscriptions;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Ramsey\Uuid\Uuid;
use Staudenmeir\EloquentHasManyDeep\HasRelationships;
class User extends Authenticatable implements Wallet, Customer
{
use HasApiTokens, HasFactory, Notifiable, HasSubscriptions, HasWallet, CanPay, HasRelationships;
/**
Describe your task Hi guys, i have a problem when i want to get the balance from the default wallet.
To Reproduce Steps to reproduce the behavior:
use Bavix\Wallet\Interfaces\Customer; use Bavix\Wallet\Interfaces\Wallet; use Bavix\Wallet\Traits\CanPay; use Bavix\Wallet\Traits\HasWallet; use Bpuig\Subby\Traits\HasSubscriptions; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; use Ramsey\Uuid\Uuid; use Staudenmeir\EloquentHasManyDeep\HasRelationships;
class User extends Authenticatable implements Wallet, Customer { use HasApiTokens, HasFactory, Notifiable, HasSubscriptions, HasWallet, CanPay, HasRelationships; /**
Expected behavior I just want it works on my application and it seems didn't work out.
Server: