mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:24:31 -04:00
v5.1.55:
This commit is contained in:
parent
73bcaae3f6
commit
b3ccb0f861
@ -3,6 +3,7 @@
|
|||||||
## [Unreleased (daily channel)](https://github.com/invoiceninja/invoiceninja/tree/v5-develop)
|
## [Unreleased (daily channel)](https://github.com/invoiceninja/invoiceninja/tree/v5-develop)
|
||||||
## Fixed:
|
## Fixed:
|
||||||
- Fix User created/updated/deleted Actvity display format
|
- Fix User created/updated/deleted Actvity display format
|
||||||
|
- Fix for Stripe autobill / token regression
|
||||||
|
|
||||||
## Added:
|
## Added:
|
||||||
- Invoice / Quote / Credit created notifications
|
- Invoice / Quote / Credit created notifications
|
||||||
|
@ -1 +1 @@
|
|||||||
5.1.54
|
5.1.55
|
@ -69,14 +69,18 @@ class Charge
|
|||||||
$response = null;
|
$response = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$response = $local_stripe->paymentIntents->create([
|
|
||||||
|
$data = [
|
||||||
'amount' => $this->stripe->convertToStripeAmount($amount, $this->stripe->client->currency()->precision),
|
'amount' => $this->stripe->convertToStripeAmount($amount, $this->stripe->client->currency()->precision),
|
||||||
'currency' => $this->stripe->client->getCurrencyCode(),
|
'currency' => $this->stripe->client->getCurrencyCode(),
|
||||||
'payment_method' => $cgt->token,
|
'payment_method' => $cgt->token,
|
||||||
'customer' => $cgt->gateway_customer_reference,
|
'customer' => $cgt->gateway_customer_reference,
|
||||||
'confirm' => true,
|
'confirm' => true,
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
]);
|
];
|
||||||
|
|
||||||
|
$response = $this->stripe->createPaymentIntent($data);
|
||||||
|
// $response = $local_stripe->paymentIntents->create($data);
|
||||||
|
|
||||||
SystemLogger::dispatch($response, SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_SUCCESS, SystemLog::TYPE_STRIPE, $this->stripe->client);
|
SystemLogger::dispatch($response, SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_SUCCESS, SystemLog::TYPE_STRIPE, $this->stripe->client);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
@ -14,8 +14,8 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', ''),
|
'app_domain' => env('APP_DOMAIN', ''),
|
||||||
'app_version' => '5.1.54',
|
'app_version' => '5.1.55',
|
||||||
'app_tag' => '5.1.54-release',
|
'app_tag' => '5.1.55-release',
|
||||||
'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', false),
|
'api_secret' => env('API_SECRET', false),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user