From c5c9481ea7c4e86743972a114a3ffca0feb8dd80 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 17 Jul 2017 14:28:35 +0300 Subject: [PATCH] Add link to Stripe API keys --- app/Models/Gateway.php | 2 ++ resources/lang/en/texts.php | 1 + 2 files changed, 3 insertions(+) diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index 1765686ad043..793473fe9f36 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -171,6 +171,8 @@ class Gateway extends Eloquent $link = 'https://www.dwolla.com/register'; } elseif ($this->id == GATEWAY_SAGE_PAY_DIRECT || $this->id == GATEWAY_SAGE_PAY_SERVER) { $link = 'https://applications.sagepay.com/apply/2C02C252-0F8A-1B84-E10D-CF933EFCAA99'; + } elseif ($this->id == GATEWAY_STRIPE) { + $link = 'https://dashboard.stripe.com/account/apikeys'; } $key = 'texts.gateway_help_'.$this->id; diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 1c27f93c1fe0..2d8caa7f3489 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2301,6 +2301,7 @@ $LANG = array( 'product_notes' => 'Product Notes', 'app_version' => 'App Version', 'ofx_version' => 'OFX Version', + 'gateway_help_23' => ':link to get your Stripe API keys.', );