Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stripe Thirtybees Module: installation problem

Featured Replies

When installing Stripe Module v1.6.5 , at the point where the Module requests to check TLS1.2 support, activating the 'Button' creates a long page of code:

object(GuzzleHttp\Exception\ConnectException)#123 (10) { ["request":"GuzzleHttp\Exception\RequestException":private]=> object(GuzzleHttp\Psr7\Request)#115 (7) { ["method":"GuzzleHttp\Psr7\Request":private]=> string(3) "GET" ["requestTarget":"GuzzleHttp\Psr7\Request":private]=> NULL ["uri":"GuzzleHttp\Psr7\Request":private]=> o.......................

Our Server does support TLS1.2.

Are there any settings we can change in Thirtybees that would avoid generating this error? We would be grateful for any suggestions to enable the Stripe module to work successfully. Thanks.

  • Author

OK, we will stand back from Stripe for now. Thank you for your fast reply. Signut.

Until this is fixed, you can bypass this validation. Edit file modules/stripe/stripe.php, and change lines 959..971 from

php protected function tlsCheck() { $guzzle = new GuzzleClient(); \ThirtyBeesStripe\Stripe\ApiRequestor::setHttpClient($guzzle); \ThirtyBeesStripe\Stripe\Stripe::setApiKey('sk_test_BQokikJOvBiI2HlWgH4olfQ2'); \ThirtyBeesStripe\Stripe\Stripe::$apiBase = 'https://api-tls12.stripe.com'; try { \ThirtyBeesStripe\Stripe\Charge::all(); $this->updateAllValue(static::TLS_OK, static::ENUM_TLS_OK); } catch (\ThirtyBeesStripe\Stripe\Error\Api $e) { $this->updateAllValue(static::TLS_OK, static::ENUM_TLS_ERROR); } }

to

php protected function tlsCheck() { $this->updateAllValue(static::TLS_OK, static::ENUM_TLS_OK); }

  • Author

Thank you for the 'Bypass' information. After instigating this change, the Module worked as we hoped and the Data in both the Stripe Account and Thirtybees BO appears correct. We will somehow need to improve the Checkout visual display/layout, (nb. TB 1.0.7 / Warehouse 3.8.6) but at least it now works. We are certainly very grateful for your help. Signut.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.