Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stripe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
Stripe
Commits
a1d9f685
Commit
a1d9f685
authored
1 year ago
by
mattwire
Browse files
Options
Downloads
Patches
Plain Diff
Use stripe-php library API version (2023-08-16)
parent
c1fcf4f8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Core/Payment/Stripe.php
+2
-1
2 additions, 1 deletion
CRM/Core/Payment/Stripe.php
CRM/Stripe/Check.php
+2
-2
2 additions, 2 deletions
CRM/Stripe/Check.php
with
4 additions
and
3 deletions
CRM/Core/Payment/Stripe.php
+
2
−
1
View file @
a1d9f685
...
...
@@ -269,7 +269,8 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
// Set plugin info and API credentials.
Stripe
::
setAppInfo
(
'CiviCRM'
,
CRM_Utils_System
::
version
(),
CRM_Utils_System
::
baseURL
());
Stripe
::
setApiKey
(
self
::
getSecretKey
(
$this
->
_paymentProcessor
));
Stripe
::
setApiVersion
(
CRM_Stripe_Check
::
API_VERSION
);
// With Stripe-php 12 we pin to latest Stripe API
// Stripe::setApiVersion(CRM_Stripe_Check::API_VERSION);
}
/**
...
...
This diff is collapsed.
Click to expand it.
CRM/Stripe/Check.php
+
2
−
2
View file @
a1d9f685
...
...
@@ -19,8 +19,8 @@ class CRM_Stripe_Check {
/**
* @var string
*/
const
API_VERSION
=
'2022-11-15'
;
const
API_MIN_VERSION
=
'202
0-08-27
'
;
const
API_VERSION
=
\Stripe\Util\ApiVersion
::
CURRENT
;
const
API_MIN_VERSION
=
'202
2-11-15
'
;
/**
* @var string
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment