Skip to content

Commit

Permalink
Beta 2
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerfinnell committed Jan 3, 2023
1 parent 486ea69 commit f4c0e65
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 16 deletions.
5 changes: 4 additions & 1 deletion includes/core/forms/fields/class-payment-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ public static function print_html( $settings ) {

$captcha_type = simpay_get_setting( 'captcha_type', '' );

if ( 'hcaptcha' === $captcha_type ) {
if (
'stripe_checkout' === self::$form->get_display_type() &&
'hcaptcha' === $captcha_type
) {
$html .= '<div
class="simpay-form-control h-captcha"
data-sitekey="' . esc_attr( simpay_get_setting( 'hcaptcha_site_key' ) ) . '"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wp-simple-pay-lite",
"title": "WP Simple Pay Lite for Stripe",
"description": "Add high conversion Stripe Checkout forms to your WordPress site and start accepting payments in minutes. **Lite Version**",
"version": "4.6.6",
"version": "4.6.6-beta-2",
"license": "GPL-2.0-or-later",
"homepage": "https://wpsimplepay.com/",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpsimplepay, pderksen, spencerfinnell, adamjlea, mordauk, cklosows
Tags: stripe, stripe checkout, stripe payments, credit card payments, stripe gateway
Requires at least: 5.2
Tested up to: 6.1
Stable tag: 4.6.6
Stable tag: 4.6.6-beta-2
Requires PHP: 5.6
License: GPLv2 or later

Expand Down
4 changes: 2 additions & 2 deletions stripe-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Add high conversion Stripe payment forms to your WordPress site in minutes.
* Author: WP Simple Pay
* Author URI: https://wpsimplepay.com
* Version: 4.6.6-beta-1
* Version: 4.6.6-beta-2
* Text Domain: stripe
* Domain Path: /languages
*/
Expand Down Expand Up @@ -54,7 +54,7 @@
//
// Lite/Pro-specific.
//
define( 'SIMPLE_PAY_VERSION', '4.6.6-beta-1' );
define( 'SIMPLE_PAY_VERSION', '4.6.6-beta-2' );

if ( ! defined( 'SIMPLE_PAY_PLUGIN_NAME' ) ) {
define( 'SIMPLE_PAY_PLUGIN_NAME', 'WP Simple Pay Lite' );
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit1e108daa1a7846f52fd244465fcbd5e2::getLoader();
return ComposerAutoloaderInit38333d11ecc7afbc8bdea63441179c55::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit1e108daa1a7846f52fd244465fcbd5e2
class ComposerAutoloaderInit38333d11ecc7afbc8bdea63441179c55
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit1e108daa1a7846f52fd244465fcbd5e2', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit38333d11ecc7afbc8bdea63441179c55', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit1e108daa1a7846f52fd244465fcbd5e2', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit38333d11ecc7afbc8bdea63441179c55', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit38333d11ecc7afbc8bdea63441179c55::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2
class ComposerStaticInit38333d11ecc7afbc8bdea63441179c55
{
public static $prefixLengthsPsr4 = array (
'S' =>
Expand Down Expand Up @@ -37,9 +37,9 @@ class ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit1e108daa1a7846f52fd244465fcbd5e2::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit38333d11ecc7afbc8bdea63441179c55::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit38333d11ecc7afbc8bdea63441179c55::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit38333d11ecc7afbc8bdea63441179c55::$classMap;

}, null, ClassLoader::class);
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '871fec30b04d46f5998f4c733e69690572d74204',
'reference' => '536a4db6dff3c6cda70d50cae937c6b45a3ca4df',
'name' => 'wpsimplepay/wp-simple-pay-pro-3',
'dev' => false,
),
Expand Down Expand Up @@ -88,7 +88,7 @@
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '871fec30b04d46f5998f4c733e69690572d74204',
'reference' => '536a4db6dff3c6cda70d50cae937c6b45a3ca4df',
'dev_requirement' => false,
),
),
Expand Down

0 comments on commit f4c0e65

Please sign in to comment.