payment Card first 4 payments inc. mails
This commit is contained in:
parent
075a3675d5
commit
cb9082a8c6
34 changed files with 2818 additions and 918 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue