diff --git a/commerce_stripe.drush.inc b/commerce_stripe.drush.inc
index f1596d2..f68d381 100644
--- a/commerce_stripe.drush.inc
+++ b/commerce_stripe.drush.inc
@@ -34,7 +34,7 @@ function drush_commerce_stripe_stripe_download() {
     $path = drush_get_context('DRUSH_DRUPAL_ROOT') . '/sites/all/libraries/stripe-php';
   }
   if (drush_shell_exec('git clone git://github.com/stripe/stripe-php.git ' . $path)) {
-    drush_shell_exec('git --git-dir=' . $path . '/.git --work-tree=' . $path . ' checkout v3.23.0');
+    drush_shell_exec('git --git-dir=' . $path . '/.git --work-tree=' . $path . ' checkout v5.2.3');
     drush_log(dt('Stripe PHP library has been cloned via git to @path.', array('@path' => $path)), 'success');
   }
   else {
diff --git a/commerce_stripe.module b/commerce_stripe.module
index 2a3db4b..7a11d2a 100755
--- a/commerce_stripe.module
+++ b/commerce_stripe.module
@@ -1382,7 +1382,7 @@ function commerce_stripe_load_library() {
   }
   else {
     $minimum_version = '3.0.0';
-    $maximum_version = '4.12.0';
+    $maximum_version = '5.2.3';
     $message = "Commerce Stripe is currently tested with stripe-php library versions @minimum_version through @maximum_version. You are using version @installed_version, and you should @upgrade_or_downgrade.";
 
     //check that it's not lower than the minimum required version
