mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 23:14:35 -04:00
minor fixes
This commit is contained in:
parent
ac842d0d83
commit
8e43eaa99d
@ -320,8 +320,6 @@ class PaymentController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function credit_response(Request $request)
|
public function credit_response(Request $request)
|
||||||
{
|
{
|
||||||
nlog("credit response");
|
|
||||||
nlog($request->all());
|
|
||||||
|
|
||||||
$payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$request->input('payment_hash')])->first();
|
$payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$request->input('payment_hash')])->first();
|
||||||
|
|
||||||
|
@ -522,7 +522,7 @@ class SubscriptionService
|
|||||||
*/
|
*/
|
||||||
private function handlePlanChange($payment_hash)
|
private function handlePlanChange($payment_hash)
|
||||||
{
|
{
|
||||||
|
nlog("handle plan change");
|
||||||
$old_recurring_invoice = RecurringInvoice::find($payment_hash->data->billing_context->recurring_invoice);
|
$old_recurring_invoice = RecurringInvoice::find($payment_hash->data->billing_context->recurring_invoice);
|
||||||
|
|
||||||
$recurring_invoice = $this->createNewRecurringInvoice($old_recurring_invoice);
|
$recurring_invoice = $this->createNewRecurringInvoice($old_recurring_invoice);
|
||||||
|
@ -15,7 +15,7 @@ return [
|
|||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => '5.2.7',
|
'app_version' => '5.2.7',
|
||||||
'app_tag' => '5.2.7-release',
|
'app_tag' => '5.2.7',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', ''),
|
'api_secret' => env('API_SECRET', ''),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user