Skip to content

Gfb 46 gravity forms braintree payments error 500 on adding credit card field #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 153 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
b0888b8
Updated to the latest plugin files 1.1.2
tejasmht Nov 17, 2018
9405170
remaining file to push
tejasmht Nov 17, 2018
0389724
made adjustments to the class file related to the latest library , r…
tejasmht Nov 17, 2018
8b92e78
updated the latest library files of Braintree, ref #1
tejasmht Nov 17, 2018
19ae2f7
Merge pull request #4 from angelleye/Issue-1
Nov 17, 2018
07ec593
Added bn code value in the sale transaction request, ref #2
tejasmht Nov 17, 2018
c565591
Updates details for AE release, ref Issue-3
Nov 17, 2018
639ea53
Merge pull request #5 from angelleye/Issue-3
Nov 17, 2018
ac55611
Merge pull request #6 from angelleye/Issue-2
Nov 17, 2018
ae1ab0a
Updates details, ref Issue-3
Nov 17, 2018
341bcbe
Renames file, ref #3
Nov 17, 2018
f40add6
Updates tested version
Jan 24, 2019
b5c485b
Updates tested version, GFB-3
Feb 27, 2019
345dc31
GFB-4 , Updater compatibility
tejasmht Mar 26, 2019
3257d1c
Merge pull request #7 from angelleye/GFB-4
Mar 27, 2019
640d9d2
Updates changelog, GFB-4
Mar 27, 2019
670a823
AE Updater plugin link, GFB-5
kcppdevelopers Apr 4, 2019
25cd070
AE Updater plugin link, GFB-5
kcppdevelopers Apr 4, 2019
5105293
Merge branch 'GFB-5' of https://github.com/angelleye/gravity-forms-br…
kcppdevelopers Apr 4, 2019
b06ca14
Merge pull request #8 from angelleye/GFB-5
Apr 4, 2019
68bb431
Updates changelog, GFB-5
Apr 4, 2019
f55447d
Merge branch 'release' into dev
Apr 4, 2019
07b6cd1
Updates details for v2.1.0
Apr 4, 2019
4a4d09f
add text domain in main file, GFB-7
kcppdevelopers Apr 5, 2019
04e813a
Merge pull request #9 from angelleye/GFB-7
Apr 18, 2019
acfa102
Updates changelog, GFB-7
Apr 18, 2019
cbbd85e
Notification System, GFB-8
kcppdevelopers May 8, 2019
c6e7722
Notification System, GFB-8
kcppdevelopers May 10, 2019
a334cd3
Merge pull request #10 from angelleye/GFB-8
May 31, 2019
4d5e4bf
Updates changelog, GFB-8
May 31, 2019
c9cbdd0
Updates details for v2.1.1
May 31, 2019
057970a
Notification System interval, GFB-9
kcppdevelopers Jun 17, 2019
611ea18
PayPal Adjustments
kcppdevelopers Jul 9, 2019
1c77f8a
Updates details for v2.1.2
Jul 9, 2019
c12ae57
Merge branch 'release' into dev
Jul 9, 2019
de913ee
Integrate volume tracking system, GFB-11
kcppdevelopers Jul 9, 2019
3893913
Merge branch 'GFB-11' of https://github.com/angelleye/gravity-forms-b…
kcppdevelopers Jul 9, 2019
ff54c4b
Integrate volume tracking system, GFB-11
kcppdevelopers Jul 10, 2019
4ad802c
Merge branch 'GFB-11' of https://github.com/angelleye/gravity-forms-b…
kcppdevelopers Jul 10, 2019
9a30282
Notification System interval, GFB-9
kcppdevelopers Jul 11, 2019
e9577dc
Merge branch 'GFB-9' of https://github.com/angelleye/gravity-forms-br…
kcppdevelopers Jul 11, 2019
7da7a55
Merge pull request #11 from angelleye/GFB-9
kcppdevelopers Jul 12, 2019
f7b3c84
Updates changelog, GFB-9
kcppdevelopers Jul 12, 2019
52d0073
Integrate volume tracking system, GFB-11
kcppdevelopers Jul 18, 2019
151ea1c
Integrate volume tracking system, GFB-11
kcppdevelopers Jul 18, 2019
e54a685
Merge pull request #12 from angelleye/GFB-11
kcppdevelopers Jul 18, 2019
6d1dbd4
Updates details for v2.1.3
kcppdevelopers Jul 18, 2019
a85d0ec
Merge branch 'release' of https://github.com/angelleye/gravity-forms-…
kcppdevelopers Jul 18, 2019
79231fe
Updates details for v2.1.3
kcppdevelopers Jul 23, 2019
d989269
Merge branch 'release' of https://github.com/angelleye/gravity-forms-…
kcppdevelopers Jul 23, 2019
55c9a00
Braintree field mapping added, GFB-12
deepakmaurya Oct 11, 2019
3301bcb
Allow the addon to be enabled if Gravity form plugin is activated, Al…
deepakmaurya Oct 11, 2019
a19f2a1
Merge branch 'GFB-14' into dev
deepakmaurya Oct 11, 2019
025054d
Payment logger logging issue resolved, variable passing issue and com…
deepakmaurya Oct 11, 2019
ee8d1ff
Gitignore file added, GFB-13
deepakmaurya Oct 11, 2019
1325ed4
Merchant id field error suppressed in case merchant id variable is no…
deepakmaurya Oct 11, 2019
b1aaed6
Gravity form multiple sub input support added for braintree field map…
deepakmaurya Oct 11, 2019
f43cf8a
Merge branch 'GFB-12' into dev
deepakmaurya Oct 11, 2019
a5aa118
Merge branch 'GFB-13' into dev
deepakmaurya Oct 11, 2019
8624d54
Country code fields removed, Added notice on credit card form on edit…
deepakmaurya Oct 16, 2019
28fbb1a
Merge branch 'GFB-12' into dev
deepakmaurya Oct 16, 2019
b9fdedd
Volume tracker plugin id updated, GFB-13
deepakmaurya Oct 16, 2019
a4a92bf
Merge branch 'GFB-13' into dev
deepakmaurya Oct 16, 2019
6fbbd3c
Added notice on Braintree field mapping page and fixed it to display …
deepakmaurya Oct 16, 2019
93d9f87
Fixed the sandbox and live mode condition check, GFB-13
deepakmaurya Oct 16, 2019
fe3b0c7
Merge branch 'GFB-13' into dev
deepakmaurya Oct 16, 2019
f4d6be8
Merge branch 'GFB-12' into dev
deepakmaurya Oct 16, 2019
edddcd2
Verbiage updated for the field mapping and notices, GFB-12
deepakmaurya Oct 16, 2019
14d74ae
Merge branch 'GFB-12' into dev
deepakmaurya Oct 16, 2019
fcdfdcf
Added help section on mapping field page, GFB-12
deepakmaurya Oct 16, 2019
00162ab
Merge branch 'GFB-12' into dev
deepakmaurya Oct 16, 2019
7c630b5
Field order updated on the field mapping page, GFB-12
deepakmaurya Oct 16, 2019
7ecdfa8
Merge branch 'GFB-12' into dev
deepakmaurya Oct 16, 2019
dddbc23
Merge pull request #14 from angelleye/GFB-12
Oct 16, 2019
190cf50
Merge pull request #15 from angelleye/GFB-13
Oct 16, 2019
01830a9
Updates changelog
Oct 16, 2019
69c2390
Merge branch 'dev' into release
Oct 16, 2019
1fdf8e7
Updates tested up to version
Oct 16, 2019
00e8561
Updates version details for v2.2.0
Oct 16, 2019
4a01183
Merge branch 'release'
deepakmaurya Oct 16, 2019
1b2d93f
Merge branch 'release'
Oct 16, 2019
cd3f99d
Fixed UI issues for small width screens, GFB-15
deepakmaurya Oct 22, 2019
e17ec47
Merge pull request #16 from angelleye/GFB-15
Oct 22, 2019
750d166
Updates changelog, GFB-15
Oct 22, 2019
54ccda3
Merge branch 'release' into dev
Oct 22, 2019
db93593
Updates version details for v2.2.1
kcppdevelopers Nov 20, 2019
2886b62
Updater Install Notification should be dismissable, GFB-16
kcppdevelopers Nov 28, 2019
3d47d04
Updater Install Notification should be dismissable, GFB-16
kcppdevelopers Dec 16, 2019
152f1fa
Merge pull request #17 from angelleye/GFB-16
kcppdevelopers Dec 23, 2019
4fdc930
Updates changelog, PIFW-33
kcppdevelopers Dec 23, 2019
aaff9c1
Updates changelog, GFB-16
kcppdevelopers Dec 23, 2019
6b8ca00
Updates changelog, GFB-16
kcppdevelopers Dec 27, 2019
6358c9c
Updates version details for v2.2.2
kcppdevelopers Dec 30, 2019
002a598
Merge branch 'release' of https://github.com/angelleye/gravity-forms-…
kcppdevelopers Dec 30, 2019
42683a4
Updates version details for v2.2.2
kcppdevelopers Dec 30, 2019
03d04b3
Merge branch 'release' of https://github.com/angelleye/gravity-forms-…
kcppdevelopers Dec 30, 2019
93e80c3
Braintree library upgraded from 3 to 5.0, GFB-18
deepakmaurya Apr 28, 2020
72b24ef
Fixed the No Conflict mode issue with Braintree JS and CSS loading an…
deepakmaurya Apr 28, 2020
ea55dbd
Merge pull request #21 from angelleye/GFB-18
deepakmaurya Apr 28, 2020
94760e0
Merge pull request #20 from angelleye/GFB-19
deepakmaurya Apr 28, 2020
58aa7a1
Updates Version Details & Changelog for v3.0.0
deepakmaurya Apr 28, 2020
e64f968
Fatal error resolved with Conditional Braintree library loading, Comp…
deepakmaurya Apr 28, 2020
dfeb17f
Merge pull request #22 from angelleye/GFB-18
deepakmaurya Apr 28, 2020
a0249ff
Updates Version Details & Changelog for v3.0.1
deepakmaurya Apr 28, 2020
5db0c8c
PHP version check Braintree exception issue resolved
deepakmaurya May 4, 2020
8de8575
Merge pull request #23 from angelleye/GFB-21
deepakmaurya May 4, 2020
b102185
Version & Changelog Updates for v3.0.2
deepakmaurya May 4, 2020
1b053e2
Merge branch 'release'
deepakmaurya May 4, 2020
ea86bf4
Plugin requirement check feature updated to show notice and deactivat…
deepakmaurya May 9, 2020
4f1b6a2
Integrated Braintree ACH Direct Debit Payment Method with Payment Met…
deepakmaurya May 11, 2020
13968ab
Required plugin file added for Plugin requirement checker, GFB-22
deepakmaurya May 11, 2020
55b6231
Entries list page and some PHP notice issues resolved , GFB-17
deepakmaurya May 12, 2020
b779871
Updated the missing plugin install link or reactivate the plugin quic…
deepakmaurya May 12, 2020
03a4de4
Updated the requirement verbiages, GFB-22
deepakmaurya May 13, 2020
98a30ba
Added the account number verification field and message updates, GFB-17
deepakmaurya May 13, 2020
c524c7c
Custom toggle field form label updates, GFB-17
deepakmaurya May 13, 2020
79f8601
Merge branch 'GFB-17' into release
deepakmaurya May 13, 2020
b9177d3
Update changelogs and version for v3.1.0
deepakmaurya May 13, 2020
0d1eccc
Braintree ACH + CC form compatibility added with custom toggle option…
deepakmaurya May 13, 2020
9223b88
Adjustment with Entry values on entry detail page and input field act…
deepakmaurya May 13, 2020
467294e
Pass custom field mapping data with ACH Direct Debit payments, GFB-24
deepakmaurya May 14, 2020
5de8c98
Merge branch 'GFB-24' into release
deepakmaurya May 14, 2020
b7380fe
Update changelog and version for v3.1.1
deepakmaurya May 14, 2020
2c42149
Fixed the regression issue due to merge conflict related to payment m…
deepakmaurya May 14, 2020
5332500
Updates changeload and version for v3.1.2
deepakmaurya May 14, 2020
038a4ba
Add Braintree Subscription, GFB-31
kcppdevelopers Mar 1, 2021
bc4a649
Merge pull request #30 from angelleye/GFB-31
kcppdevelopers Mar 1, 2021
c2c8956
Updates changeload and version for v4.0
kcppdevelopers Mar 1, 2021
5fff289
GFB-36 Adding label for Braintree CC while setting up Subscription me…
nirmalrdesai Mar 16, 2021
b0c51b5
GFB-36 Adding label for Braintree CC while setting up Subscription me…
nirmalrdesai Mar 16, 2021
813b970
Merge branch 'GFB-36' of https://github.com/angelleye/gravity-forms-b…
nirmalrdesai Mar 16, 2021
5ceb87f
Merge pull request #31 from angelleye/GFB-36
nirmalrdesai Mar 16, 2021
a8ff5d8
Removed duplicate code
nirmalrdesai Mar 16, 2021
e66c6c6
Merge branch 'GFB-36' of https://github.com/angelleye/gravity-forms-b…
nirmalrdesai Mar 16, 2021
84d8f3e
Updates changelog and version for v4.0.1
nirmalrdesai Mar 16, 2021
c54800d
Braintree SDK Update, GFB-37
kcppdevelopers Jun 25, 2021
b103384
Merge pull request #33 from angelleye/GFB-37
kcppdevelopers Jul 12, 2021
bb2b1e7
Updates changelog and version for v4.0.2
kcppdevelopers Jul 12, 2021
9226888
Fatal Error Gravity Form, GFB-41
kcppdevelopers Jan 6, 2022
27016c7
Merge pull request #37 from angelleye/GFB-41
kcppdevelopers Jan 10, 2022
ea7882e
Updates changelog and version for v4.0.3
kcppdevelopers Jan 10, 2022
92e7038
Fatal Error Gravity Form, GFB-41
kcppdevelopers Jan 17, 2022
ffdf045
Merge branch 'release' of https://github.com/angelleye/gravity-forms-…
kcppdevelopers Jan 17, 2022
612e0b9
Merge pull request #38 from angelleye/GFB-41-A
kcppdevelopers Jan 17, 2022
9a9e770
Updates changelog and version for v4.0.4
kcppdevelopers Jan 17, 2022
f0094ce
ACH Form Error, GFB-42
kcppdevelopers Jan 21, 2022
03f974d
Merge pull request #39 from angelleye/GFB-42
kcppdevelopers Jan 26, 2022
c0c26ff
Updates changelog and version for v4.0.5
kcppdevelopers Jan 26, 2022
aa8ca42
Adjustments to resolve theme conflict, GFB-40
Jaydeep7248 Apr 17, 2023
0f6527a
Merge pull request #44 from angelleye/GFB-40
kcppdevelopers Apr 18, 2023
47cb479
Updates changelog and version for v4.0.6
kcppdevelopers Apr 18, 2023
f39bf28
Updates changelog and version for v4.0.6
kcppdevelopers Apr 18, 2023
00b9b33
Resolve beaintree payment error while using credit card field, GFB-46
Ravindra112001 May 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Created by .ignore support plugin (hsz.mobi)
.idea
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
# Integrate Gravity Forms with Braintree

Braintree Payments is a payment gateway provider owned by eBAY Inc, which allows you to proces credit card payments without the need for a bank merchant account and full PCI-compliance. No sensitive data such as credit card numbers are stored on your server, Braintree takes care of everything.

#### If you have found this plugin useful, consider taking a moment to rate it, or perhaps even a small donation.
Braintree Payments is a payment gateway provider owned by PayPal which allows you to process credit card payments without the need for a bank merchant account and full PCI-compliance. No sensitive data such as credit card numbers are stored on your server, Braintree takes care of everything.

## Installation

1. Upload the `gravity-forms-braintree` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to the Form you wish to setup with a Braintree feed.
4. Under Form Settings, choose the Braintree option.
### Automatic installation

## Features
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't need to leave your web browser. To do an automatic install of Gravity Forms Braintree Payments, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type Gravity Forms Braintree Payments and click Search Plugins. Once you've found our plugin (make sure it says "by Angell EYE") you can view details about it such as the the rating and description. Most importantly, of course, you can install it by simply clicking Install Now.

### Manual Installation

* Seamlessly integrates your Gravity Forms credit card forms with Braintree Payments
* Supports both production and sandbox environments, enabling you to test payments before going live
* Form entries will only be created when payment is successful
* Quick and easy setup
1. Unzip the files and upload the folder into your plugins folder (/wp-content/plugins/) overwriting older versions if they exist
2. Activate the plugin in your WordPress admin area.

## Subscriptions
The plugin does not currently support Braintree Subscriptions. Keep a look out for it in a future version
### Usage

1. Navigate to the Form you wish to setup with a Braintree feed.
2. Under Form Settings, choose the Braintree option.

## Features

## Upgrade Notice
If you are updating from a version previous to 1.0, your existing feeds will not work. Please make sure you check all your feeds and ensure they function correctly.
* Seamlessly integrates your Gravity Forms credit card forms with Braintree Payments.
* Supports both production and sandbox environments, enabling you to test payments before going live.
* Form entries will only be created when payment is successful.
* Quick and easy setup.
138 changes: 138 additions & 0 deletions angelleye-gravity-forms-braintree.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?php
/**
* Plugin Name: Gravity Forms Braintree Payments
* Plugin URI: https://angelleye.com/products/gravity-forms-braintree-payments
* Description: Allow your customers to purchase goods and services through Gravity Forms via Braintree Payments.
* Author: Angell EYE
* Version: 4.0.6
* Author URI: https://angelleye.com
* Text Domain: angelleye-gravity-forms-braintree

*************
* Attribution
*************
* This plugin is a derivative work of the code from Plugify,
* which is licensed with GPLv2.
*/

// Ensure WordPress has been bootstrapped
if( !defined( 'ABSPATH' ) ) {
exit;
}

if (!defined('AEU_ZIP_URL')) {
define('AEU_ZIP_URL', 'https://updates.angelleye.com/ae-updater/angelleye-updater/angelleye-updater.zip');
}

if (!defined('GRAVITY_FORMS_BRAINTREE_ASSET_URL')) {
define('GRAVITY_FORMS_BRAINTREE_ASSET_URL', plugin_dir_url(__FILE__));
}

if (!defined('PAYPAL_FOR_WOOCOMMERCE_PUSH_NOTIFICATION_WEB_URL')) {
define('PAYPAL_FOR_WOOCOMMERCE_PUSH_NOTIFICATION_WEB_URL', 'https://www.angelleye.com/');
}

require_once dirname(__FILE__) . '/includes/angelleye-gravity-braintree-activator.php';
require_once dirname(__FILE__) . '/includes/angelleye-plugin-requirement-checker.php';

class AngelleyeGravityFormsBraintree{

protected static $instance = null;
public static $plugin_base_file;
public static $version = '4.0.6';

public static function getInstance()
{
self::$plugin_base_file = plugin_basename(__FILE__);
if(self::$instance==null)
self::$instance = new AngelleyeGravityFormsBraintree();

return self::$instance;
}

public function __construct()
{
register_activation_hook( __FILE__, array(AngelleyeGravityBraintreeActivator::class,"InstallDb") );
register_deactivation_hook( __FILE__, array(AngelleyeGravityBraintreeActivator::class,"DeactivatePlugin") );
register_uninstall_hook( __FILE__, array(AngelleyeGravityBraintreeActivator::class,'Uninstall'));

add_action('plugins_loaded', [$this, 'requirementCheck']);
add_action( 'wp_enqueue_scripts', [$this, 'enqueue_scripts']);
}


public function enqueue_scripts() {
wp_register_script('braintreegateway-dropin', "https://js.braintreegateway.com/web/dropin/1.26.0/js/dropin.min.js");
wp_enqueue_script('braintreegateway-dropin');
}

public function requirementCheck() {
$checker = new Angelleye_Plugin_Requirement_Checker('Gravity Forms Braintree Payments', self::$version, self::$plugin_base_file);
$checker->setPHP('7.2');
$checker->setRequiredClasses(['GFForms' => 'The Gravity Forms plugin is required in order to run Gravity Forms Braintree Payments.']);
$checker->setRequiredExtensions(['xmlwriter', 'openssl', 'dom', 'hash', 'curl']);
$checker->setRequiredPlugins(['gravityforms/gravityforms.php'=>['min_version'=>'2.4', 'install_link'=>'https://rocketgenius.pxf.io/c/1331556/445235/7938', 'name'=>'Gravity Forms']]);
//$checker->setDeactivatePlugins([self::$plugin_base_file]);
if($checker->check()===true) {
$this->init();
}
}

public function init()
{
$path = trailingslashit( dirname( __FILE__ ) );

// Ensure Gravity Forms (payment addon framework) is installed and good to go
if( is_callable( array( 'GFForms', 'include_payment_addon_framework' ) ) ) {

// Bootstrap payment addon framework
GFForms::include_payment_addon_framework();
GFForms::include_addon_framework();

// Require Braintree Payments core
if(!class_exists('Braintree')) {
require_once $path . 'lib/Braintree.php';
}

// Require plugin entry point
require_once $path . 'includes/angelleye-gravity-braintree-helper.php';
require_once $path . 'lib/class.plugify-gform-braintree.php';
require_once $path . 'includes/class-angelleye-gravity-braintree-ach-field.php';
require_once $path . 'includes/class-angelleye-gravity-braintree-ach-toggle-field.php';
require_once $path . 'lib/angelleye-gravity-forms-payment-logger.php';
require_once $path . 'includes/angelleye-gravity-braintree-field-mapping.php';
require_once $path . 'includes/class-angelleye-gravity-braintree-creditcard.php';

/**
* Required functions
*/
if (!function_exists('angelleye_queue_update')) {
require_once( 'includes/angelleye-functions.php' );
}

// Fire off entry point
new Plugify_GForm_Braintree();
new AngelleyeGravityBraintreeFieldMapping();

/**
* Register the ACH form field and Payment Method toggle field
*/
GF_Fields::register( new Angelleye_Gravity_Braintree_ACH_Field() );
GF_Fields::register( new Angelleye_Gravity_Braintree_ACH_Toggle_Field() );
GF_Fields::register( new Angelleye_Gravity_Braintree_CreditCard_Field() );
AngellEYE_GForm_Braintree_Payment_Logger::instance();

}
}

public static function isBraintreeFeedActive()
{
global $wpdb;
$addon_feed_table_name = $wpdb->prefix . 'gf_addon_feed';
$is_active = $wpdb->get_var("select is_active from ".$addon_feed_table_name." where addon_slug='gravity-forms-braintree' and is_active=1");

return $is_active=='1';
}
}

AngelleyeGravityFormsBraintree::getInstance();
88 changes: 88 additions & 0 deletions assets/css/gravity-forms-braintree-admin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
.notice.notice-success.angelleye-notice {
padding: 0 !important;
margin: 5px 0 10px;
background: #FFF;
overflow: hidden;
-webkit-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
position: relative;
z-index: 1;
min-height: 80px;
display: table; /* The magic ingredient! */
font: 13px "Open Sans", sans-serif;
}
.angelleye-notice > div {
display: table-cell;
vertical-align: middle;
cursor: default;
line-height: 1.5;
}
.angelleye-notice-logo-push {
background-repeat: no-repeat;
background-position: 50% 50%;
}
.angelleye-notice-logo-push span {
display: block;
margin: 0px 10px 0px 10px;
}
.notice.notice-success.angelleye-notice {
font: 13px "Open Sans", sans-serif;
line-height: normal;
}
.angelleye-notice-message {
color: #23282D;
font-size: 13px;
font-weight: normal;
line-height: 20px;
padding: 3px 5px;
-webkit-font-smoothing: antialiased;
width: 100%;
}
.angelleye-notice-message h3 {
margin: 4px 0px !important;
}
.angelleye-notice-message-inner {
margin-bottom: 10px;
}
.angelleye-notice-message p {
margin: 3px 0px !important;
padding: 0px;
}
.angelleye-notice-action {
padding-top: 5px;
}
.angelleye-notice-cta {
border-left: 1px solid #E5E5E5;
background: #F8F8F8;
padding: 0 30px;
position: relative;
white-space: nowrap;
}
.wp-core-ui .angelleye-notice-cta button,
.wp-core-ui .angelleye-notice-cta .button-primary:active {
vertical-align: middle;
}
.angelleye-notice-dismiss {
background: transparent;
border: 0;
cursor: pointer;
color: #C5C5C5;
-webkit-font-smoothing: antialiased;
}
.updater-dismissible {
padding-right: 38px;
position: relative;
}

.alert-notification-custom-fields:after,.alert-notification-custom-fields:before {
content:"";display:table;clear:both;
}
.alert-notification-custom-fields{
padding:0.01em 16px;color:#000!important;background-color:#ffffcc!important;margin-top:16px;
}

#gform_braintree_mapping table{
width: 800px;
}
74 changes: 74 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,77 @@ table.feeds th#id {
body {
display: none;
}

.notice.notice-success.angelleye-notice {
padding: 0 !important;
margin: 5px 0 10px;
background: #FFF;
overflow: hidden;
-webkit-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
position: relative;
z-index: 1;
min-height: 80px;
display: table; /* The magic ingredient! */
font: 13px "Open Sans", sans-serif;
}
.angelleye-notice > div {
display: table-cell;
vertical-align: middle;
cursor: default;
line-height: 1.5;
}
.angelleye-notice-logo-push {
background-repeat: no-repeat;
background-position: 50% 50%;
}
.angelleye-notice-logo-push span {
display: block;
margin: 0px 10px 0px 10px;
}
.notice.notice-success.angelleye-notice {
font: 13px "Open Sans", sans-serif;
line-height: normal;
}
.angelleye-notice-message {
color: #23282D;
font-size: 13px;
font-weight: normal;
line-height: 20px;
padding: 3px 5px;
-webkit-font-smoothing: antialiased;
width: 100%;
}
.angelleye-notice-message h3 {
margin: 4px 0px !important;
}
.angelleye-notice-message-inner {
margin-bottom: 10px;
}
.angelleye-notice-message p {
margin: 3px 0px !important;
padding: 0px;
}
.angelleye-notice-action {
padding-top: 5px;
}
.angelleye-notice-cta {
border-left: 1px solid #E5E5E5;
background: #F8F8F8;
padding: 0 30px;
position: relative;
white-space: nowrap;
}
.wp-core-ui .angelleye-notice-cta button,
.wp-core-ui .angelleye-notice-cta .button-primary:active {
vertical-align: middle;
}
.angelleye-notice-dismiss {
background: transparent;
border: 0;
cursor: pointer;
color: #C5C5C5;
-webkit-font-smoothing: antialiased;
}
Loading