Hi Michael
Ahhh - looks like I overlooked the email part of things when I was updating the module - only the most recent downloads will have the problem so folks who downloaded before 20th November or so should be OK - if cannot see the code below in your file then you can ignore this.
So for you & everyone here's a fix to your problem I've just uploaded a v1.2 with this change in it
Find the file includes/modules/payment/stripepay.php and at around line 30 you should see a block of code like this:
Code:
//admin title info
if (IS_ADMIN_FLAG === true) {
if (!function_exists('curl_init')) $this->title .= '<strong><span class="alert"> CURL NOT FOUND. Cannot Use.</span></strong>';
if ( MODULE_PAYMENT_STRIPEPAY_TESTING_SECRET_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_TESTING_PUBLISHABLE_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_MERCHANT_LIVE_SECRET_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_LIVE_PUBLISHABLE_KEY == ''){
$this->title .= '<strong><span class="alert"> One of your Stripe API keys is missing.</span></strong>';
}
if (ENABLE_SSL_CATALOG!=='true'){
$this->title .= '<strong><span class="alert"> Catalog SSL appears to be missing. Live payments are not possible</span></strong>';
}
}else{//client side
$this ->title.='<noscript><br><span style="color:red">Javascript is not enabled in your browser - you cannot checkout using Stripe</span></noscript>';
}
Now carefully edit the last full line of code by adding two slashes (php comment) at the start of the line so that it looks like:
// $this ->title.='<noscript><br><span style="color:red">Javascript is not enabled in your browser - you cannot checkout using Stripe</span>
The full chunk of code should now look like that shown below
Code:
//admin title info
if (IS_ADMIN_FLAG === true) {
if (!function_exists('curl_init')) $this->title .= '<strong><span class="alert"> CURL NOT FOUND. Cannot Use.</span></strong>';
if ( MODULE_PAYMENT_STRIPEPAY_TESTING_SECRET_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_TESTING_PUBLISHABLE_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_MERCHANT_LIVE_SECRET_KEY == '' ||
MODULE_PAYMENT_STRIPEPAY_LIVE_PUBLISHABLE_KEY == ''){
$this->title .= '<strong><span class="alert"> One of your Stripe API keys is missing.</span></strong>';
}
if (ENABLE_SSL_CATALOG!=='true'){
$this->title .= '<strong><span class="alert"> Catalog SSL appears to be missing. Live payments are not possible</span></strong>';
}
}else{//client side
// $this ->title.='<noscript><br><span style="color:red">Javascript is not enabled in your browser - you cannot checkout using Stripe</span></noscript>';
}
That's probably the easiest way of editing out the <noscript> for the moment.
Apologies for my oversight
Graeme
Bookmarks