Minor cleanup for authorize ACH
This commit is contained in:
parent
0a13a4d32e
commit
a2a12834f8
|
|
@ -142,6 +142,7 @@ class AuthorizeACH implements LivewireMethodInterface
|
||||||
$response = $data['raw_response'];
|
$response = $data['raw_response'];
|
||||||
|
|
||||||
if ($response->getMessages()->getResultCode() == 'Ok') {
|
if ($response->getMessages()->getResultCode() == 'Ok') {
|
||||||
|
|
||||||
$payment = $this->createPayment($payment_hash, $response);
|
$payment = $this->createPayment($payment_hash, $response);
|
||||||
|
|
||||||
SystemLogger::dispatch(
|
SystemLogger::dispatch(
|
||||||
|
|
@ -153,7 +154,7 @@ class AuthorizeACH implements LivewireMethodInterface
|
||||||
$this->authorize->client->company,
|
$this->authorize->client->company,
|
||||||
);
|
);
|
||||||
|
|
||||||
return redirect()->route('client.payments.show', ['payment' => $payment->hashed_id]);
|
return redirect()->route('client.payments.show', ['payment' => $this->encodePrimaryKey($payment->id)]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5555,6 +5555,7 @@ $lang = array(
|
||||||
'selected_products' => 'منتجات مختارة',
|
'selected_products' => 'منتجات مختارة',
|
||||||
'create_company_error_unauthorized' => 'ليس لديك صلاحية إنشاء شركة. مالك حساب فقط هو من يستطيع إنشاء الشركة.',
|
'create_company_error_unauthorized' => 'ليس لديك صلاحية إنشاء شركة. مالك حساب فقط هو من يستطيع إنشاء الشركة.',
|
||||||
'deleted_location' => 'تم حذف الموقع',
|
'deleted_location' => 'تم حذف الموقع',
|
||||||
|
'currency_caribbean_guilder' => 'الجيلدر الكاريبي',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $lang;
|
return $lang;
|
||||||
|
|
|
||||||
|
|
@ -5573,6 +5573,7 @@ $lang = array(
|
||||||
'selected_products' => 'Productos Seleccionados',
|
'selected_products' => 'Productos Seleccionados',
|
||||||
'create_company_error_unauthorized' => 'No está autorizado a crear una empresa. Solo el titular de la cuenta puede hacerlo.',
|
'create_company_error_unauthorized' => 'No está autorizado a crear una empresa. Solo el titular de la cuenta puede hacerlo.',
|
||||||
'deleted_location' => 'Ubicación eliminada',
|
'deleted_location' => 'Ubicación eliminada',
|
||||||
|
'currency_caribbean_guilder' => 'Florín del Caribe',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $lang;
|
return $lang;
|
||||||
|
|
|
||||||
|
|
@ -5574,6 +5574,7 @@ Lorsque les montant apparaîtront sur votre relevé, veuillez revenir sur cette
|
||||||
'selected_products' => 'Produits sélectionnés',
|
'selected_products' => 'Produits sélectionnés',
|
||||||
'create_company_error_unauthorized' => 'Vous n'êtes pas autorisé à créer une entreprise. Seul le titulaire du compte peut en créer une.',
|
'create_company_error_unauthorized' => 'Vous n'êtes pas autorisé à créer une entreprise. Seul le titulaire du compte peut en créer une.',
|
||||||
'deleted_location' => 'Emplacement supprimé',
|
'deleted_location' => 'Emplacement supprimé',
|
||||||
|
'currency_caribbean_guilder' => 'Florin des Caraïbes',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $lang;
|
return $lang;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue