Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models\Ipn.php deprecated fields on $fillable. #23

Open
Larzz opened this issue Oct 28, 2018 · 2 comments
Open

Models\Ipn.php deprecated fields on $fillable. #23

Larzz opened this issue Oct 28, 2018 · 2 comments

Comments

@Larzz
Copy link

Larzz commented Oct 28, 2018

$fillable is missing the 'email' field and 'buyer_name' should be 'first_name','last_name'. Also dont forget to update the migration.

class Ipn extends Model
{
    public $fillable = [
        'ipn_version', 'ipn_id', 'ipn_mode', 'merchant', 'ipn_type', 'txn_id', 'status', 'ref_id',
        'status_text', 'currency1', 'currency2', 'amount1', 'amount2', 'fee', 'buyer_name',
        'item_name', 'item_number', 'invoice', 'custom', 'send_tx', 'received_amount', 'received_confirms',
        'address', 'amount', 'amounti', 'currency', 'feei', 'dest_tag', 'confirms',
    ];

    ......
}
@Larzz Larzz changed the title kevupton\laravel-coinpayments\src\Kevupton\LaravelCoinpayments\Models\Ipn.php Models\Ipn.php Missing fields on $fillable. Oct 28, 2018
@Larzz Larzz changed the title Models\Ipn.php Missing fields on $fillable. Models\Ipn.php deprecated fields on $fillable. Oct 28, 2018
@kevupton
Copy link
Owner

ahh ok thanks

@kevupton
Copy link
Owner

is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants