diff --git a/src/Plugin/Ubercart/PaymentMethod/StripeGateway.php b/src/Plugin/Ubercart/PaymentMethod/StripeGateway.php
index 3cb9f03..1e057ec 100644
--- a/src/Plugin/Ubercart/PaymentMethod/StripeGateway.php
+++ b/src/Plugin/Ubercart/PaymentMethod/StripeGateway.php
@@ -39,35 +39,35 @@ class StripeGateway extends CreditCardPaymentMethodBase {
 
     $form['test_secret_key'] = array(
       '#type' => 'textfield',
-      '#title' => t('Test Secret Key'),
+      '#title' => $this->t('Test Secret Key'),
       '#default_value' => $this->configuration['test_secret_key'],
-      '#description' => t('Your Development Stripe API Key. Must be the "secret" key, not the "publishable" one.'),
+      '#description' => $this->t('Your Development Stripe API Key. Must be the "secret" key, not the "publishable" one.'),
     );
 
     $form['test_publishable_key'] = array(
       '#type' => 'textfield',
-      '#title' => t('Test Publishable Key'),
+      '#title' => $this->t('Test Publishable Key'),
       '#default_value' => $this->configuration['test_publishable_key'],
-      '#description' => t('Your Development Stripe API Key. Must be the "publishable" key, not the "secret" one.'),
+      '#description' => $this->t('Your Development Stripe API Key. Must be the "publishable" key, not the "secret" one.'),
     );
 
     $form['live_secret_key'] = array(
       '#type' => 'textfield',
-      '#title' => t('Live Secret Key'),
+      '#title' => $this->t('Live Secret Key'),
       '#default_value' => $this->configuration['live_secret_key'],
-      '#description' => t('Your Live Stripe API Key. Must be the "secret" key, not the "publishable" one.'),
+      '#description' => $this->t('Your Live Stripe API Key. Must be the "secret" key, not the "publishable" one.'),
     );
 
     $form['live_publishable_key'] = array(
       '#type' => 'textfield',
-      '#title' => t('Live Publishable Key'),
+      '#title' => $this->t('Live Publishable Key'),
       '#default_value' => $this->configuration['live_publishable_key'],
-      '#description' => t('Your Live Stripe API Key. Must be the "publishable" key, not the "secret" one.'),
+      '#description' => $this->t('Your Live Stripe API Key. Must be the "publishable" key, not the "secret" one.'),
     );
 
     $form['testmode'] = array(
       '#type' => 'checkbox',
-      '#title' => t('Test mode'),
+      '#title' => $this->t('Test mode'),
       '#description' => 'Testing Mode: Stripe will use the development API key to process the transaction so the card will not actually be charged.',
       '#default_value' => $this->configuration['testmode'],
     );
@@ -137,7 +137,7 @@ class StripeGateway extends CreditCardPaymentMethodBase {
 
     $form['stripe_nojs_warning'] = array(
       '#type' => 'item',
-      '#markup' => '<span id="stripe-nojs-warning" class="stripe-warning">' . t('Sorry, for security reasons your card cannot be processed because Javascript is disabled in your browser.') . '</span>',
+      '#markup' => '<span id="stripe-nojs-warning" class="stripe-warning">' . $this->t('Sorry, for security reasons your card cannot be processed because Javascript is disabled in your browser.') . '</span>',
       '#weight' => -1000,
     );
 
@@ -199,8 +199,8 @@ class StripeGateway extends CreditCardPaymentMethodBase {
     if (!$this->prepareApi()) {
       $result = array(
         'success' => FALSE,
-        'comment' => t('Stripe API not found.'),
-        'message' => t('Stripe API not found. Contact the site administrator.'),
+        'comment' => $this->t('Stripe API not found.'),
+        'message' => $this->t('Stripe API not found. Contact the site administrator.'),
         'uid' => $user->id(),
         'order_id' => $order->id(),
       );
@@ -248,7 +248,7 @@ class StripeGateway extends CreditCardPaymentMethodBase {
         $result = array(
           'success' => FALSE,
           'comment' => $e->getCode(),
-          'message' => t("Stripe Customer Creation Failed for order !order: !message", array(
+          'message' => $this->t("Stripe Customer Creation Failed for order !order: !message", array(
             "!order" => $order->id(),
             "!message" => $e->getMessage()
           )),
@@ -274,7 +274,7 @@ class StripeGateway extends CreditCardPaymentMethodBase {
       if ($amount == 0) {
         $result = array(
           'success' => TRUE,
-          'message' => t('Payment of 0 approved'),
+          'message' => $this->t('Payment of 0 approved'),
           'uid' => $user->uid,
           'trans_id' => md5(uniqid(rand())),
         );
@@ -312,7 +312,7 @@ class StripeGateway extends CreditCardPaymentMethodBase {
         $result = array(
           'success' => FALSE,
           'comment' => $e->getCode(),
-          'message' => t("Stripe Charge Failed for order !order: !message", array(
+          'message' => $this->t("Stripe Charge Failed for order !order: !message", array(
             "!order" => $order->id(),
             "!message" => $e->getMessage()
           )),
