This commit is contained in:
David Bomba 2021-04-28 11:27:44 +10:00
parent 73bcaae3f6
commit b3ccb0f861
4 changed files with 10 additions and 5 deletions

View File

@ -3,6 +3,7 @@
## [Unreleased (daily channel)](https://github.com/invoiceninja/invoiceninja/tree/v5-develop)
## Fixed:
- Fix User created/updated/deleted Actvity display format
- Fix for Stripe autobill / token regression
## Added:
- Invoice / Quote / Credit created notifications

View File

@ -1 +1 @@
5.1.54
5.1.55

View File

@ -69,14 +69,18 @@ class Charge
$response = null;
try {
$response = $local_stripe->paymentIntents->create([
$data = [
'amount' => $this->stripe->convertToStripeAmount($amount, $this->stripe->client->currency()->precision),
'currency' => $this->stripe->client->getCurrencyCode(),
'payment_method' => $cgt->token,
'customer' => $cgt->gateway_customer_reference,
'confirm' => true,
'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);
} catch (\Exception $e) {

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', ''),
'app_version' => '5.1.54',
'app_tag' => '5.1.54-release',
'app_version' => '5.1.55',
'app_tag' => '5.1.55-release',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),