1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Update contact information in InstantPayment class

This commit is contained in:
Benjamin Beganović 2024-01-31 18:47:26 +01:00
parent ea6be8d698
commit 539451319f

View File

@ -45,6 +45,15 @@ class InstantPayment
public function run()
{
nlog($this->request->all());
$cc = auth()->guard('contact')->user();
$cc->first_name = $this->request->contact_first_name;
$cc->last_name = $this->request->contact_last_name;
$cc->email = $this->request->contact_email;
$cc->save();
$is_credit_payment = false;
$tokens = [];