-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added - Square fields in free * Added - Active square feature from form builder * Added - Display error message when square is diabled * Added - Validation for square credit card * Added - Backward Compatibility * updated * Fix - Setting url * Added - Image added on dashboard * Tweak - Remove backward compatibility code * Tweak - Auto enable ajax in square payment --------- Co-authored-by: Deependra Chaudhary <elendoff11@gmail.com>
- Loading branch information
1 parent
366d0fd
commit d31341b
Showing
14 changed files
with
98 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* EVF_Field_Payment_Square field | ||
* | ||
* @package EverestForms\Fields | ||
* @since 3.0.0 | ||
*/ | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* EVF_Field_Payment_Square Class. | ||
*/ | ||
class EVF_Field_Payment_Square extends \EVF_Form_Fields { | ||
|
||
/** | ||
* Constructor. | ||
*/ | ||
public function __construct() { | ||
|
||
$this->name = esc_html__( 'Square', 'everest-forms' ); | ||
$this->type = 'square-payment'; | ||
$this->icon = 'evf-icon evf-icon-payment'; | ||
$this->order = 231; | ||
$this->group = 'payment'; | ||
$this->is_pro = true; | ||
$this->plan = 'personal agency themegrill-agency'; | ||
$this->addon = 'everest-forms-square'; | ||
$this->links = array( | ||
'image_id' => '', | ||
'vedio_id' => 'a5EcKjwWD1A', | ||
); | ||
|
||
parent::__construct(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters