payment Card first 4 payments inc. mails
This commit is contained in:
parent
c20deac3fe
commit
6e3adac4d7
38 changed files with 3063 additions and 921 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