[Stripe] «This API call cannot be made with a publishable API key. Please use a secret API key»

I have installed the Stripe Extension from Mage2.Pro. I was able to configure it. When I clicked on save I got an error and when I try to load the configuration settings from within the backend of the store I am greeted with a page of code.

indent preformatted text by 4 spaces

Here is the 1st few lines.

1 exception(s):
Exception #0 (Stripe\Error\Permission): This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.

Exception #0 (Stripe\Error\Permission): This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.

Has anyone ever encountered this before and how do I clear it? I was looking in the DB to see if I could clear the fields and start again but I don’t know where it is? Can someone please help.

Thanks in advance.

Learn how to produce the full stack trace, not «1st few lines».

1 exception(s):
Exception #0 (Stripe\Error\Permission): This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.

Exception #0 (Stripe\Error\Permission): This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.

#0 vendor/stripe/stripe-php/lib/ApiRequestor.php(102): Stripe\ApiRequestor::_specificAPIError('{\n  "error": {\n...', 403, Array, Array, Array)
#1 vendor/stripe/stripe-php/lib/ApiRequestor.php(309): Stripe\ApiRequestor->handleErrorResponse('{\n  "error": {\n...', 403, Array, Array)
#2 vendor/stripe/stripe-php/lib/ApiRequestor.php(65): Stripe\ApiRequestor->_interpretResponse('{\n  "error": {\n...', 403, Array)
#3 vendor/stripe/stripe-php/lib/ApiResource.php(32): Stripe\ApiRequestor->request('get', '/v1/account', Array, Array)
#4 vendor/stripe/stripe-php/lib/ApiResource.php(132): Stripe\ApiResource->refresh()
#5 vendor/stripe/stripe-php/lib/Account.php(62): Stripe\ApiResource::_retrieve(NULL, NULL)
#6 vendor/mage2pro/stripe/Settings.php(45): Stripe\Account::retrieve()
#7 vendor/mage2pro/core/Core/lib/cache.php(211): Dfe\Stripe\Settings->Dfe\Stripe\{closure}()
#8 vendor/mage2pro/stripe/Settings.php(46): dfc(Object(Dfe\Stripe\Settings), Object(Closure))
#9 vendor/mage2pro/stripe/Settings.php(37): Dfe\Stripe\Settings->account()
#10 vendor/mage2pro/stripe/FE/Currency.php(65): Dfe\Stripe\Settings->merchantCountry()
#11 vendor/mage2pro/core/Core/lib/cache.php(211): Dfe\Stripe\FE\Currency->Dfe\Stripe\FE\{closure}()
#12 vendor/mage2pro/stripe/FE/Currency.php(66): dfc(Object(Dfe\Stripe\FE\Currency\Interceptor), Object(Closure))
#13 vendor/mage2pro/stripe/FE/Currency.php(55): Dfe\Stripe\FE\Currency->country()
#14 vendor/mage2pro/core/Framework/Form/Element/Select2.php(68): Dfe\Stripe\FE\Currency->disabled()
#15 lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php(213): Df\Framework\Form\Element\Select2->setRenderer(Object(Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element\Interceptor))
#16 lib/internal/Magento/Framework/Interception/Interceptor.php(146): Magento\Framework\Data\Form\Element\Fieldset->addField('df_payment_stri...', 'Dfe\\Stripe\\FE\\C...', Array, false, false)
#17 var/generation/Magento/Framework/Data/Form/Element/Fieldset/Interceptor.php(39): Magento\Framework\Data\Form\Element\Fieldset\Interceptor->___callPlugins('addField', Array, Array)
#18 app/code/Magento/Config/Block/System/Config/Form.php(411): Magento\Framework\Data\Form\Element\Fieldset\Interceptor->addField('df_payment_stri...', 'Dfe\\Stripe\\FE\\C...', Array)
#19 app/code/Magento/Config/Block/System/Config/Form.php(313): Magento\Config\Block\System\Config\Form->_initElement(Object(Magento\Config\Model\Config\Structure\Element\Field\Interceptor), Object(Magento\Framework\Data\Form\Element\Fieldset\Interceptor), 'df_payment/stri...', '', '')
#20 app/code/Magento/Config/Block/System/Config/Form.php(253): Magento\Config\Block\System\Config\Form->initFields(Object(Magento\Framework\Data\Form\Element\Fieldset\Interceptor), Object(Magento\Config\Model\Config\Structure\Element\Group), Object(Magento\Config\Model\Config\Structure\Element\Section))
#21 app/code/Magento/Config/Block/System/Config/Form.php(199): Magento\Config\Block\System\Config\Form->_initGroup(Object(Magento\Config\Model\Config\Structure\Element\Group), Object(Magento\Config\Model\Config\Structure\Element\Section), Object(Magento\Framework\Data\Form))
#22 app/code/Magento/Config/Block/System/Config/Form.php(524): Magento\Config\Block\System\Config\Form->initForm()
#23 lib/internal/Magento/Framework/View/Element/AbstractBlock.php(658): Magento\Config\Block\System\Config\Form->_beforeToHtml()
#24 lib/internal/Magento/Framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#25 lib/internal/Magento/Framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('system\\config\\f...')
#26 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('system\\config\\f...')
#27 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#28 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#29 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('system\\config\\f...')
#30 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'system\\config\\f...')
#31 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#32 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system\\config\\f...')
#33 lib/internal/Magento/Framework/View/Element/AbstractBlock.php(499): Magento\Framework\View\Layout->renderElement('system\\config\\f...', true)
#34 app/code/Magento/Config/view/adminhtml/templates/system/config/edit.phtml(22): Magento\Framework\View\Element\AbstractBlock->getChildHtml('form')
#35 lib/internal/Magento/Framework/View/TemplateEngine/Php.php(59): include('/home/site_username/p...')
#36 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Config\Block\System\Config\Edit\Interceptor), '/home/site_username/p...', Array)
#37 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#38 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'render', Object(Magento\Framework\View\TemplateEngine\Php\Interceptor), Array, 'Df\\Framework\\Pl...')
#39 vendor/mage2pro/core/Framework/Plugin/View/TemplateEngineInterface.php(21): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Config\Block\System\Config\Edit\Interceptor), '/home/site_username/p...', Array)
#40 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\TemplateEngineInterface->aroundRender(Object(Magento\Framework\View\TemplateEngine\Php\Interceptor), Object(Closure), Object(Magento\Config\Block\System\Config\Edit\Interceptor), '/home/site_username/p...', Array)
#41 var/generation/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#42 lib/internal/Magento/Framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\Config\Block\System\Config\Edit\Interceptor), '/home/site_username/p...', Array)
#43 lib/internal/Magento/Framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/site_username/p...')
#44 app/code/Magento/Backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#45 lib/internal/Magento/Framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->_toHtml()
#46 lib/internal/Magento/Framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#47 lib/internal/Magento/Framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('system.config.e...')
#48 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('system.config.e...')
#49 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#50 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#51 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('system.config.e...')
#52 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'system.config.e...')
#53 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#54 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system.config.e...')
#55 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('system.config.e...')
#56 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('content')
#57 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('content')
#58 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#59 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#60 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('content')
#61 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'content')
#62 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#63 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content')
#64 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('content')
#65 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('admin.scope.col...')
#66 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('admin.scope.col...')
#67 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#68 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#69 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('admin.scope.col...')
#70 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'admin.scope.col...')
#71 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#72 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('admin.scope.col...')
#73 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('admin.scope.col...')
#74 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('main.col')
#75 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('main.col')
#76 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#77 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#78 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('main.col')
#79 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'main.col')
#80 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#81 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.col')
#82 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('main.col')
#83 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#84 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#85 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#86 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#87 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('page.main.conta...')
#88 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'page.main.conta...')
#89 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#90 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#91 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('page.main.conta...')
#92 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.content')
#93 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#94 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#95 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#96 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('page.content')
#97 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'page.content')
#98 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#99 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#100 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('page.content')
#101 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#102 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#103 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#104 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#105 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('page.wrapper')
#106 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'page.wrapper')
#107 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#108 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#109 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('page.wrapper')
#110 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('backend.page')
#111 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#112 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#113 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#114 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('backend.page')
#115 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'backend.page')
#116 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#117 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#118 lib/internal/Magento/Framework/View/Layout.php(569): Magento\Framework\View\Layout->renderElement('backend.page')
#119 lib/internal/Magento/Framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('root')
#120 lib/internal/Magento/Framework/Interception/Interceptor.php(74): Magento\Framework\View\Layout->renderNonCachedElement('root')
#121 lib/internal/Magento/Framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Layout\Interceptor->___callParent('renderNonCached...', Array)
#122 lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderNonCached...', Object(Magento\Framework\View\Layout\Interceptor), Array, 'Df\\Framework\\Pl...')
#123 vendor/mage2pro/core/Framework/Plugin/View/Layout.php(166): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}('root')
#124 lib/internal/Magento/Framework/Interception/Interceptor.php(142): Df\Framework\Plugin\View\Layout->aroundRenderNonCachedElement(Object(Magento\Framework\View\Layout\Interceptor), Object(Closure), 'root')
#125 var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('renderNonCached...', Array, Array)
#126 lib/internal/Magento/Framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#127 lib/internal/Magento/Framework/View/Layout.php(938): Magento\Framework\View\Layout->renderElement('root')
#128 var/generation/Magento/Framework/View/Layout/Interceptor.php(50): Magento\Framework\View\Layout->getOutput()
#129 lib/internal/Magento/Framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput()
#130 lib/internal/Magento/Framework/View/Result/Layout.php(164): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#131 var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#132 lib/internal/Magento/Framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#133 lib/internal/Magento/Framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#134 index.php(57): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#135 {main}

It looks like you mixed up your secret key with your publishable key in the Magento 2 backend.
Try to set them again with the proper values.
My extension passes the proper (secret, private) value to this API call, so the issue is 1000% your fault.

A post was split to a new topic: How to delete all the Stripe extension’s settings in the Magento database?