Plugin Directory

Changeset 3083492


Ignore:
Timestamp:
05/08/2024 05:51:12 PM (2 years ago)
Author:
aldeng
Message:

4.6.7

Location:
event-agent/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • event-agent/trunk/README.txt

    r3060666 r3083492  
    99Requires at least: 6.0
    1010Tested up to:      6.4
    11 Stable tag:        4.6.6
    12 Version:           4.6.6
     11Stable tag:        4.6.7
     12Version:           4.6.7
    1313License:           GPLv2 or later
    1414License URI:       http://www.gnu.org/licenses/gpl-2.0.html
  • event-agent/trunk/event-agent.php

    r3060666 r3083492  
    1111 * Plugin URI:        https://www.eventagent.ai/
    1212 * Description:       EventAgent.ai combines a next generation event management system with AI-powered marketing to maximize your sales.  AI makes all the difference.
    13  * Version:           4.6.6
     13 * Version:           4.6.7
    1414 * Requires at least: 6.0
    1515 * Requires PHP:      8.0
     
    2525}
    2626
    27 define( 'EVENT_AGENT_VERSION', '4.6.6' );
     27define( 'EVENT_AGENT_VERSION', '4.6.7' );
    2828
    2929require_once dirname(__FILE__).'/includes/activate.php';
  • event-agent/trunk/public/js/firsttimefree-vue.js

    r2932943 r3083492  
    2727            email: '',
    2828            firstTimeFree: {},
    29             loading: true
     29            loading: true,
     30            displayCC: true
    3031        },
    3132
     
    173174                                        this.cvcReady = false;
    174175                                        this.expiryReady = false;
    175                                         this.$message({ message: eaTranslate('Subscription successful.  Check your email for your Zoom link.'), duration: 4000, type: 'success', offset: 40, customClass: 'ea-message' });
     176                                        this.displayCC = false;
    176177                                        if (typeof (gtag) === "function") {
    177178                                            gtag('event', 'subscription', {
  • event-agent/trunk/public/partials/firsttimefree.php

    r2932943 r3083492  
    1616<script type="text/x-template" id="ea-firsttimefree-template">
    1717<div class="wrap ea-firsttimefree-template">
    18     <el-row><el-col>
    19         <h3 class="mb-3"><?php esc_html_e('We\'re delighted you enjoyed your free visit to ', 'event-agent'); ?>{{firstTimeFree.eventName}}<?php esc_html_e(' with ', 'event-agent'); ?>{{firstTimeFree.attendeeNamesList}}</h3>
    20         <h5 class="mb-3"><?php esc_html_e('Please provide your payment information for continued access.', 'event-agent'); ?></h5>
     18    <el-row v-if="displayCC"><el-col>
     19        <el-row><el-col>
     20            <h3 class="mb-3"><?php esc_html_e('We\'re delighted you enjoyed your free visit to ', 'event-agent'); ?>{{firstTimeFree.eventName}}<?php esc_html_e(' with ', 'event-agent'); ?>{{firstTimeFree.attendeeNamesList}}</h3>
     21            <h5 class="mb-3"><?php esc_html_e('Please provide your payment information for continued access.', 'event-agent'); ?></h5>
     22        </el-col></el-row>
     23        <el-form ref="form" :model="firstTimeFree">
     24            <table class="ea-cost-table">
     25                <tr ><td><?php esc_html_e('Subtotal', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.subtotal)}}</td></tr>
     26                <tr v-if="firstTimeFree.adjustment > 0"><td><?php esc_html_e('Discount', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.adjustment)}}</td></tr>
     27                <tr v-if="firstTimeFree.couponValue > 0"><td><?php esc_html_e('Coupon Value', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.couponValue)}}</td></tr>
     28                <tr v-if="firstTimeFree.tax > 0"><td><?php esc_html_e('Tax', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.tax)}}</td></tr>
     29                <tr v-if="firstTimeFree.paid > 0"><td><?php esc_html_e('Paid', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.paid)}}</td></tr>
     30                <tr><td><?php esc_html_e('Balance Due', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.balanceDue)}}</td></tr>
     31            </table>
     32            <el-row :gutter="10">
     33                <el-col :xs="24" :sm="12">
     34                    <el-form-item label="<?php esc_html_e('Billing Name', 'event-agent'); ?>">
     35                        <el-input v-model="name" placeholder="<?php esc_html_e('Name on credit card', 'event-agent'); ?>"></el-input>
     36                    </el-form-item>
     37                </el-col>
     38                <el-col :xs="24" :sm="12">
     39                    <el-form-item label="<?php esc_html_e('Billing Email', 'event-agent'); ?>">
     40                        <el-input v-model="email" placeholder="<?php esc_html_e('Email address of name on credit card', 'event-agent'); ?>"></el-input>
     41                    </el-form-item>
     42                </el-col>
     43            </el-row>
     44            <el-row><el-col>
     45                <el-form-item label="<?php esc_html_e('Card Number', 'event-agent'); ?>">
     46                    <div id="card-number"></div>
     47                </el-form-item>
     48            </el-col></el-row>
     49            <el-row :gutter="10">
     50                <el-col :xs="24" :sm="12">
     51                    <el-form-item label="<?php esc_html_e('Card Expiry', 'event-agent'); ?>">
     52                        <div id="card-expiry"></div>
     53                    </el-form-item>
     54                </el-col>
     55                <el-col :xs="24" :sm="12">
     56                    <el-form-item label="<?php esc_html_e('CVC', 'event-agent'); ?>">
     57                        <div id="card-cvc"></div>
     58                    </el-form-item>
     59                </el-col>
     60            </el-row>
     61            <el-alert class="mt-3" v-if="cardError" :closable="false" show-icon type="error">
     62                <span slot="title" v-html="cardError"></span>
     63            </el-alert>
     64            <el-row><el-col>
     65                <el-form-item>
     66                    <vue-recaptcha
     67                        ref="recaptcha"
     68                        @verify="onCaptchaVerified"
     69                        @expired="onCaptchaExpired"
     70                        size="invisible"
     71                        :sitekey="firstTimeFree.recaptchaSiteKey">
     72                    </vue-recaptcha>
     73                </el-form-item>
     74            </el-col></el-row>
     75        </el-form>
     76        <el-row><el-col>
     77            <p><?php esc_html_e('I authorize', 'event-agent'); ?> {{firstTimeFree.organization}} <?php esc_html_e('to send instructions to the financial institution that issued my card to charge my card in the amount of', 'event-agent'); ?> {{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.balanceDue)}} <b><?php esc_html_e('each time I attend', 'event-agent'); ?></b> {{firstTimeFree.eventName}}. <b><?php esc_html_e('I will not be charged if I do not come.', 'event-agent'); ?></b></p>
     78            <el-button :loading="loading" :disabled="disabled"
     79                type="primary" class="my-4" @click="saveFirstTimeFree" icon="el-icon-tickets"><?php esc_html_e('Subscribe', 'event-agent'); ?></el-button>
     80        </el-col></el-row>
    2181    </el-col></el-row>
    22     <el-form ref="form" :model="firstTimeFree">
    23         <table class="ea-cost-table">
    24             <tr ><td><?php esc_html_e('Subtotal', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.subtotal)}}</td></tr>
    25             <tr v-if="firstTimeFree.adjustment > 0"><td><?php esc_html_e('Discount', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.adjustment)}}</td></tr>
    26             <tr v-if="firstTimeFree.couponValue > 0"><td><?php esc_html_e('Coupon Value', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.couponValue)}}</td></tr>
    27             <tr v-if="firstTimeFree.tax > 0"><td><?php esc_html_e('Tax', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.tax)}}</td></tr>
    28             <tr v-if="firstTimeFree.paid > 0"><td><?php esc_html_e('Paid', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.paid)}}</td></tr>
    29             <tr><td><?php esc_html_e('Balance Due', 'event-agent'); ?></td><td>{{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.balanceDue)}}</td></tr>
    30         </table>
    31         <el-row :gutter="10">
    32             <el-col :xs="24" :sm="12">
    33                 <el-form-item label="<?php esc_html_e('Billing Name', 'event-agent'); ?>">
    34                     <el-input v-model="name" placeholder="<?php esc_html_e('Name on credit card', 'event-agent'); ?>"></el-input>
    35                 </el-form-item>
    36             </el-col>
    37             <el-col :xs="24" :sm="12">
    38                 <el-form-item label="<?php esc_html_e('Billing Email', 'event-agent'); ?>">
    39                     <el-input v-model="email" placeholder="<?php esc_html_e('Email address of name on credit card', 'event-agent'); ?>"></el-input>
    40                 </el-form-item>
    41             </el-col>
    42         </el-row>
    43         <el-row><el-col>
    44             <el-form-item label="<?php esc_html_e('Card Number', 'event-agent'); ?>">
    45                 <div id="card-number"></div>
    46             </el-form-item>
    47         </el-col></el-row>
    48         <el-row :gutter="10">
    49             <el-col :xs="24" :sm="12">
    50                 <el-form-item label="<?php esc_html_e('Card Expiry', 'event-agent'); ?>">
    51                     <div id="card-expiry"></div>
    52                 </el-form-item>
    53             </el-col>
    54             <el-col :xs="24" :sm="12">
    55                 <el-form-item label="<?php esc_html_e('CVC', 'event-agent'); ?>">
    56                     <div id="card-cvc"></div>
    57                 </el-form-item>
    58             </el-col>
    59         </el-row>
    60         <el-alert class="mt-3" v-if="cardError" :closable="false" show-icon type="error">
    61             <span slot="title" v-html="cardError"></span>
    62         </el-alert>
    63         <el-row><el-col>
    64             <el-form-item>
    65                 <vue-recaptcha
    66                     ref="recaptcha"
    67                     @verify="onCaptchaVerified"
    68                     @expired="onCaptchaExpired"
    69                     size="invisible"
    70                     :sitekey="firstTimeFree.recaptchaSiteKey">
    71                 </vue-recaptcha>
    72             </el-form-item>
    73         </el-col></el-row>
    74     </el-form>
    75     <el-row><el-col>
    76         <p><?php esc_html_e('I authorize', 'event-agent'); ?> {{firstTimeFree.organization}} <?php esc_html_e('to send instructions to the financial institution that issued my card to charge my card in the amount of', 'event-agent'); ?> {{new Intl.NumberFormat(navigator.language, { style: 'currency', currency: firstTimeFree.currency }).format(firstTimeFree.balanceDue)}} <b><?php esc_html_e('each time I attend', 'event-agent'); ?></b> {{firstTimeFree.eventName}}. <b><?php esc_html_e('I will not be charged if I do not come.', 'event-agent'); ?></b></p>
    77         <el-button :loading="loading" :disabled="disabled"
    78             type="primary" class="my-4" @click="saveFirstTimeFree" icon="el-icon-tickets"><?php esc_html_e('Subscribe', 'event-agent'); ?></el-button>
     82    <el-row v-else><el-col>
     83        <el-alert title="Subscription successful.  Check your email for your Zoom link." :closable="false" show-icon type="success"></el-alert>
    7984    </el-col></el-row>
    8085</div>
Note: See TracChangeset for help on using the changeset viewer.