* Plugin Name: GLM Members Billing
* Plugin URI: http://www.gaslightmedia.com/
* Description: This is glmAssociate Billing Module
- * Version: 1.0.1
+ * Version: 1.0.2
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersBillingAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.1
+ * @version 1.0.2
*/
/*
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.1');
+define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.2');
define('GLM_MEMBERS_BILLING_PLUGIN_DB_VERSION', '0.0.25');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
if ( $processErrors ) {
if ( count( $processErrors ) > 0 ) {
$error = true;
- $messages[] = '<span style="color:red;">An error occurred! processErrors</span>';
+ $error_message = ( isset( $processErrors[0] ) && $processErrors[0] ) ? $processErrors[0] : 'There was an error trying to process your card!';
+ $messages[] = '<span style="color:red;">An error occurred! ' . $error_message . '</span>';
}
}
break;