payment Card first 4 payments inc. mails

This commit is contained in:
Kevin Adametz 2019-02-28 18:09:54 +01:00
parent c20deac3fe
commit 6e3adac4d7
38 changed files with 3063 additions and 921 deletions

View file

@ -6,5 +6,30 @@ use Illuminate\Database\Eloquent\Model;
class PaymentTransaction extends Model
{
//
protected $table = 'payment_transactions';
protected $casts = [
'transmitted_data' => 'array'
];
protected $fillable = [
'shopping_payment_id',
'request',
'txid',
'userid',
'status',
'key',
'txaction',
'transmitted_data',
'errorcode',
'errormessage',
'customermessage',
];
public function shopping_payment()
{
return $this->belongsTo('App\Models\ShoppingPayment','shopping_payment_id');
}
}