@@ -1,48 +1,48 @@ |
||
1 | 1 | <p><strong><?php esc_html_e('Importing CSV Event Espresso Data', 'event_espresso'); ?></strong></p> |
2 | 2 | <p> |
3 | 3 | <?php esc_html_e( |
4 | - 'The importer can be used to import event information into Event Espresso using a CSV file.', |
|
5 | - 'event_espresso' |
|
6 | - ); ?> |
|
4 | + 'The importer can be used to import event information into Event Espresso using a CSV file.', |
|
5 | + 'event_espresso' |
|
6 | + ); ?> |
|
7 | 7 | </p> |
8 | 8 | <p><strong><?php esc_html_e("Importing from other Event Espresso 4 Sites", 'event_espresso'); ?></strong></p> |
9 | 9 | <p> |
10 | 10 | <?php esc_html_e( |
11 | - 'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).', |
|
12 | - 'event_espresso' |
|
13 | - ); ?> |
|
11 | + 'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).', |
|
12 | + 'event_espresso' |
|
13 | + ); ?> |
|
14 | 14 | </p> |
15 | 15 | <p> |
16 | 16 | <?php esc_html_e( |
17 | - 'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.', |
|
18 | - 'event_espresso' |
|
19 | - ); ?> |
|
17 | + 'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.', |
|
18 | + 'event_espresso' |
|
19 | + ); ?> |
|
20 | 20 | </p> |
21 | 21 | <p><strong><?php esc_html_e("Importing from this Site", 'event_espresso'); ?></strong></p> |
22 | 22 | <p><?php |
23 | - esc_html_e( |
|
24 | - "You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).", |
|
25 | - 'event_espresso' |
|
26 | - ); ?></p> |
|
23 | + esc_html_e( |
|
24 | + "You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).", |
|
25 | + 'event_espresso' |
|
26 | + ); ?></p> |
|
27 | 27 | |
28 | 28 | <p><strong><?php esc_html_e("Notes about Generating your own CSV Import Files", "event_espresso"); ?></strong></p> |
29 | 29 | <p><?php |
30 | - esc_html_e( |
|
31 | - "If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.", |
|
32 | - "event_espresso" |
|
33 | - ); ?></p> |
|
30 | + esc_html_e( |
|
31 | + "If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.", |
|
32 | + "event_espresso" |
|
33 | + ); ?></p> |
|
34 | 34 | <p><?php |
35 | - esc_html_e( |
|
36 | - "The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ", |
|
37 | - "event_espresso" |
|
38 | - ); ?></p> |
|
35 | + esc_html_e( |
|
36 | + "The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ", |
|
37 | + "event_espresso" |
|
38 | + ); ?></p> |
|
39 | 39 | <p><?php |
40 | - esc_html_e( |
|
41 | - "In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)", |
|
42 | - "event_espresso" |
|
43 | - ); ?></p> |
|
40 | + esc_html_e( |
|
41 | + "In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)", |
|
42 | + "event_espresso" |
|
43 | + ); ?></p> |
|
44 | 44 | <p><?php |
45 | - esc_html_e( |
|
46 | - "Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)", |
|
47 | - "event_espresso" |
|
48 | - ); ?></p> |
|
49 | 45 | \ No newline at end of file |
46 | + esc_html_e( |
|
47 | + "Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)", |
|
48 | + "event_espresso" |
|
49 | + ); ?></p> |
|
50 | 50 | \ No newline at end of file |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | <p> |
21 | 21 | <label for="custom-message-template-name"> |
22 | 22 | <?php esc_html_e( |
23 | - 'Name for Template:', |
|
24 | - 'event_espresso' |
|
25 | - ); ?></label><br/> |
|
23 | + 'Name for Template:', |
|
24 | + 'event_espresso' |
|
25 | + ); ?></label><br/> |
|
26 | 26 | <input id="custom-message-template-name" type="text" class="regular-text" |
27 | 27 | name="custom_template_args[MTP_name]" value=""> |
28 | 28 | </p> |
@@ -38,9 +38,9 @@ discard block |
||
38 | 38 | value="<?php esc_html_e('Create Template', 'event_espresso'); ?>"> |
39 | 39 | <button type="button" class="button button-secondary cancel-create-template"> |
40 | 40 | <?php esc_html_e( |
41 | - 'Cancel', |
|
42 | - 'event_espresso' |
|
43 | - ); ?></button> |
|
41 | + 'Cancel', |
|
42 | + 'event_espresso' |
|
43 | + ); ?></button> |
|
44 | 44 | </div> |
45 | 45 | </form> |
46 | 46 | </div> |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | <?php echo esc_html($page_title); ?> |
21 | 21 | </h4> |
22 | 22 | <?php } |
23 | - if (! empty($invoice_url)) { ?> |
|
23 | + if (! empty($invoice_url)) { ?> |
|
24 | 24 | <p> |
25 | 25 | <a href="<?php echo esc_url_raw($invoice_url); ?>" |
26 | 26 | class="ee-button-lnk inline-button ee-invoice-lnk" |
@@ -35,10 +35,10 @@ discard block |
||
35 | 35 | <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p> |
36 | 36 | </div> |
37 | 37 | <?php } |
38 | - if (! empty($page_extra_info)) { ?> |
|
38 | + if (! empty($page_extra_info)) { ?> |
|
39 | 39 | <div class="address-block"> |
40 | 40 | <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?> |
41 | 41 | </div> |
42 | 42 | <?php } |
43 | - } ?> |
|
43 | + } ?> |
|
44 | 44 | </div> |
@@ -16,12 +16,12 @@ discard block |
||
16 | 16 | $allowedtags = AllowedTags::getAllowedTags(); |
17 | 17 | ?> |
18 | 18 | <div class="event-display-boxes"> |
19 | - <?php if (! empty($page_title)) { ?> |
|
19 | + <?php if ( ! empty($page_title)) { ?> |
|
20 | 20 | <h4 id="invoice_title" class="payment_type_title section-heading"> |
21 | 21 | <?php echo esc_html($page_title); ?> |
22 | 22 | </h4> |
23 | 23 | <?php } |
24 | - if (! empty($invoice_url)) { ?> |
|
24 | + if ( ! empty($invoice_url)) { ?> |
|
25 | 25 | <p> |
26 | 26 | <a href="<?php echo esc_url_raw($invoice_url); ?>" |
27 | 27 | class="ee-button-lnk inline-button ee-invoice-lnk" |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p> |
37 | 37 | </div> |
38 | 38 | <?php } |
39 | - if (! empty($page_extra_info)) { ?> |
|
39 | + if ( ! empty($page_extra_info)) { ?> |
|
40 | 40 | <div class="address-block"> |
41 | 41 | <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?> |
42 | 42 | </div> |
@@ -17,9 +17,9 @@ |
||
17 | 17 | <td> |
18 | 18 | <span class="description"> |
19 | 19 | <?php esc_html_e( |
20 | - "The following settings affect the functioning of the Invoice gateway.", |
|
21 | - 'event_espresso' |
|
22 | - ); ?></span> |
|
20 | + "The following settings affect the functioning of the Invoice gateway.", |
|
21 | + 'event_espresso' |
|
22 | + ); ?></span> |
|
23 | 23 | </td> |
24 | 24 | </tr> |
25 | 25 | </table> |
26 | 26 | \ No newline at end of file |
@@ -17,9 +17,9 @@ |
||
17 | 17 | <td> |
18 | 18 | <span class="description"> |
19 | 19 | <?php esc_html_e( |
20 | - "The following settings affect the content and/or appearance of the downloadable PDF invoice.", |
|
21 | - 'event_espresso' |
|
22 | - ); ?></span> |
|
20 | + "The following settings affect the content and/or appearance of the downloadable PDF invoice.", |
|
21 | + 'event_espresso' |
|
22 | + ); ?></span> |
|
23 | 23 | </td> |
24 | 24 | </tr> |
25 | 25 | </table> |
26 | 26 | \ No newline at end of file |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $this->_pretty_name = esc_html__("Bank", 'event_espresso'); |
22 | 22 | parent::__construct($pm_instance); |
23 | - $this->_default_button_url = $this->file_url() . 'lib/bank-logo.png'; |
|
23 | + $this->_default_button_url = $this->file_url().'lib/bank-logo.png'; |
|
24 | 24 | $this->_default_description = esc_html__( |
25 | 25 | 'Make payment using an electronic funds transfer from your bank.', |
26 | 26 | 'event_espresso' |
@@ -9,125 +9,125 @@ |
||
9 | 9 | */ |
10 | 10 | class EE_PMT_Bank extends EE_PMT_Base |
11 | 11 | { |
12 | - /** |
|
13 | - * |
|
14 | - * @param EE_Payment_Method $pm_instance |
|
15 | - * @throws EE_Error |
|
16 | - */ |
|
17 | - public function __construct($pm_instance = null) |
|
18 | - { |
|
19 | - $this->_pretty_name = esc_html__("Bank", 'event_espresso'); |
|
20 | - parent::__construct($pm_instance); |
|
21 | - $this->_default_button_url = $this->file_url() . 'lib/bank-logo.png'; |
|
22 | - $this->_default_description = esc_html__( |
|
23 | - 'Make payment using an electronic funds transfer from your bank.', |
|
24 | - 'event_espresso' |
|
25 | - ); |
|
26 | - } |
|
12 | + /** |
|
13 | + * |
|
14 | + * @param EE_Payment_Method $pm_instance |
|
15 | + * @throws EE_Error |
|
16 | + */ |
|
17 | + public function __construct($pm_instance = null) |
|
18 | + { |
|
19 | + $this->_pretty_name = esc_html__("Bank", 'event_espresso'); |
|
20 | + parent::__construct($pm_instance); |
|
21 | + $this->_default_button_url = $this->file_url() . 'lib/bank-logo.png'; |
|
22 | + $this->_default_description = esc_html__( |
|
23 | + 'Make payment using an electronic funds transfer from your bank.', |
|
24 | + 'event_espresso' |
|
25 | + ); |
|
26 | + } |
|
27 | 27 | |
28 | 28 | |
29 | - /** |
|
30 | - * Creates the billing form for this payment method type |
|
31 | - * |
|
32 | - * @param EE_Transaction $transaction |
|
33 | - * @return NULL |
|
34 | - */ |
|
35 | - public function generate_new_billing_form(EE_Transaction $transaction = null) |
|
36 | - { |
|
37 | - return null; |
|
38 | - } |
|
29 | + /** |
|
30 | + * Creates the billing form for this payment method type |
|
31 | + * |
|
32 | + * @param EE_Transaction $transaction |
|
33 | + * @return NULL |
|
34 | + */ |
|
35 | + public function generate_new_billing_form(EE_Transaction $transaction = null) |
|
36 | + { |
|
37 | + return null; |
|
38 | + } |
|
39 | 39 | |
40 | 40 | |
41 | - /** |
|
42 | - * Gets the form for all the settings related to this payment method type |
|
43 | - * |
|
44 | - * @return EE_Payment_Method_Form |
|
45 | - */ |
|
46 | - public function generate_new_settings_form() |
|
47 | - { |
|
48 | - return new EE_Payment_Method_Form( |
|
49 | - [ |
|
50 | - 'extra_meta_inputs' => [ |
|
51 | - 'page_title' => new EE_Text_Input( |
|
52 | - [ |
|
53 | - 'html_label_text' => sprintf( |
|
54 | - esc_html__("Title %s", "event_espresso"), |
|
55 | - $this->get_help_tab_link() |
|
56 | - ), |
|
57 | - 'default' => esc_html__("Electronic Funds Transfers", 'event_espresso'), |
|
58 | - ] |
|
59 | - ), |
|
60 | - 'payment_instructions' => new EE_Text_Area_Input( |
|
61 | - [ |
|
62 | - 'html_label_text' => sprintf( |
|
63 | - esc_html__("Payment Instructions %s", "event_espresso"), |
|
64 | - $this->get_help_tab_link() |
|
65 | - ), |
|
66 | - 'html_help_text' => esc_html__( |
|
67 | - 'Provide instructions on how registrants can send the bank draft payment. Eg, mention your account name, bank account number, bank name, bank routing code, and bank address, etc.', |
|
68 | - 'event_espresso' |
|
69 | - ), |
|
70 | - 'default' => sprintf( |
|
71 | - esc_html__( |
|
72 | - 'Please initiate an electronic payment using the following bank information: %1$sAccount Owner: Luke Skywalker%1$sBank Account # 1234567890%1$sBank Name: Rebellion Bank%1$sRouting Number: 12345%1$sBank Address: 12345 Wookie Rd., Planet Corellian.%1$sPayment must be received within 48 hours of event date.', |
|
73 | - 'event_espresso' |
|
74 | - ), |
|
75 | - "\n" |
|
76 | - ), |
|
77 | - 'validation_strategies' => [ |
|
78 | - new EE_Full_HTML_Validation_Strategy(), |
|
79 | - ], |
|
80 | - ] |
|
81 | - ), |
|
82 | - ], |
|
83 | - 'exclude' => ['PMD_debug_mode'], |
|
84 | - ] |
|
85 | - ); |
|
86 | - } |
|
41 | + /** |
|
42 | + * Gets the form for all the settings related to this payment method type |
|
43 | + * |
|
44 | + * @return EE_Payment_Method_Form |
|
45 | + */ |
|
46 | + public function generate_new_settings_form() |
|
47 | + { |
|
48 | + return new EE_Payment_Method_Form( |
|
49 | + [ |
|
50 | + 'extra_meta_inputs' => [ |
|
51 | + 'page_title' => new EE_Text_Input( |
|
52 | + [ |
|
53 | + 'html_label_text' => sprintf( |
|
54 | + esc_html__("Title %s", "event_espresso"), |
|
55 | + $this->get_help_tab_link() |
|
56 | + ), |
|
57 | + 'default' => esc_html__("Electronic Funds Transfers", 'event_espresso'), |
|
58 | + ] |
|
59 | + ), |
|
60 | + 'payment_instructions' => new EE_Text_Area_Input( |
|
61 | + [ |
|
62 | + 'html_label_text' => sprintf( |
|
63 | + esc_html__("Payment Instructions %s", "event_espresso"), |
|
64 | + $this->get_help_tab_link() |
|
65 | + ), |
|
66 | + 'html_help_text' => esc_html__( |
|
67 | + 'Provide instructions on how registrants can send the bank draft payment. Eg, mention your account name, bank account number, bank name, bank routing code, and bank address, etc.', |
|
68 | + 'event_espresso' |
|
69 | + ), |
|
70 | + 'default' => sprintf( |
|
71 | + esc_html__( |
|
72 | + 'Please initiate an electronic payment using the following bank information: %1$sAccount Owner: Luke Skywalker%1$sBank Account # 1234567890%1$sBank Name: Rebellion Bank%1$sRouting Number: 12345%1$sBank Address: 12345 Wookie Rd., Planet Corellian.%1$sPayment must be received within 48 hours of event date.', |
|
73 | + 'event_espresso' |
|
74 | + ), |
|
75 | + "\n" |
|
76 | + ), |
|
77 | + 'validation_strategies' => [ |
|
78 | + new EE_Full_HTML_Validation_Strategy(), |
|
79 | + ], |
|
80 | + ] |
|
81 | + ), |
|
82 | + ], |
|
83 | + 'exclude' => ['PMD_debug_mode'], |
|
84 | + ] |
|
85 | + ); |
|
86 | + } |
|
87 | 87 | |
88 | 88 | |
89 | - /** |
|
90 | - * Adds the help tab |
|
91 | - * |
|
92 | - * @return array |
|
93 | - * @see EE_PMT_Base::help_tabs_config() |
|
94 | - */ |
|
95 | - public function help_tabs_config() |
|
96 | - { |
|
97 | - return [ |
|
98 | - $this->get_help_tab_name() => [ |
|
99 | - 'title' => esc_html__('Bank Draft Settings', 'event_espresso'), |
|
100 | - 'filename' => 'payment_methods_overview_bank_draft', |
|
101 | - ], |
|
102 | - ]; |
|
103 | - } |
|
89 | + /** |
|
90 | + * Adds the help tab |
|
91 | + * |
|
92 | + * @return array |
|
93 | + * @see EE_PMT_Base::help_tabs_config() |
|
94 | + */ |
|
95 | + public function help_tabs_config() |
|
96 | + { |
|
97 | + return [ |
|
98 | + $this->get_help_tab_name() => [ |
|
99 | + 'title' => esc_html__('Bank Draft Settings', 'event_espresso'), |
|
100 | + 'filename' => 'payment_methods_overview_bank_draft', |
|
101 | + ], |
|
102 | + ]; |
|
103 | + } |
|
104 | 104 | |
105 | 105 | |
106 | - /** |
|
107 | - * For adding any html output ab ove the payment overview. |
|
108 | - * Many gateways won't want ot display anything, so this function just returns an empty string. |
|
109 | - * Other gateways may want to override this, such as offline gateways. |
|
110 | - * |
|
111 | - * @param EE_Payment $payment |
|
112 | - * @return string |
|
113 | - * @throws EE_Error |
|
114 | - * @throws ReflectionException |
|
115 | - */ |
|
116 | - public function payment_overview_content(EE_Payment $payment) |
|
117 | - { |
|
118 | - $extra_meta_for_payment_method = $this->_pm_instance->all_extra_meta_array(); |
|
119 | - $template_vars = array_merge( |
|
120 | - [ |
|
121 | - 'payment_method' => $this->_pm_instance, |
|
122 | - 'payment' => $payment, |
|
123 | - 'page_title' => '', |
|
124 | - 'payment_instructions' => '', |
|
125 | - ], |
|
126 | - $extra_meta_for_payment_method |
|
127 | - ); |
|
128 | - return EEH_Template::locate_template( |
|
129 | - 'payment_methods/Bank/templates/bank_payment_details_content.template.php', |
|
130 | - $template_vars |
|
131 | - ); |
|
132 | - } |
|
106 | + /** |
|
107 | + * For adding any html output ab ove the payment overview. |
|
108 | + * Many gateways won't want ot display anything, so this function just returns an empty string. |
|
109 | + * Other gateways may want to override this, such as offline gateways. |
|
110 | + * |
|
111 | + * @param EE_Payment $payment |
|
112 | + * @return string |
|
113 | + * @throws EE_Error |
|
114 | + * @throws ReflectionException |
|
115 | + */ |
|
116 | + public function payment_overview_content(EE_Payment $payment) |
|
117 | + { |
|
118 | + $extra_meta_for_payment_method = $this->_pm_instance->all_extra_meta_array(); |
|
119 | + $template_vars = array_merge( |
|
120 | + [ |
|
121 | + 'payment_method' => $this->_pm_instance, |
|
122 | + 'payment' => $payment, |
|
123 | + 'page_title' => '', |
|
124 | + 'payment_instructions' => '', |
|
125 | + ], |
|
126 | + $extra_meta_for_payment_method |
|
127 | + ); |
|
128 | + return EEH_Template::locate_template( |
|
129 | + 'payment_methods/Bank/templates/bank_payment_details_content.template.php', |
|
130 | + $template_vars |
|
131 | + ); |
|
132 | + } |
|
133 | 133 | } |
@@ -2,25 +2,25 @@ |
||
2 | 2 | |
3 | 3 | <h4 class="important-notice"> |
4 | 4 | <?php esc_html_e( |
5 | - 'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.', |
|
6 | - 'event_espresso' |
|
7 | - ); ?></h4> |
|
5 | + 'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.', |
|
6 | + 'event_espresso' |
|
7 | + ); ?></h4> |
|
8 | 8 | |
9 | 9 | <h4><?php esc_html_e('How do I test specific error codes?', 'event_espresso'); ?></h4> |
10 | 10 | <p> |
11 | 11 | <?php esc_html_e( |
12 | - 'To trigger an error condition on an amount-related field, |
|
12 | + 'To trigger an error condition on an amount-related field, |
|
13 | 13 | specify a error code value as a number with two digits to the right of the decimal point. |
14 | 14 | For example, specify a value of 107.55 to trigger the 10755 error.', |
15 | - 'event_espresso' |
|
16 | - ); ?> |
|
15 | + 'event_espresso' |
|
16 | + ); ?> |
|
17 | 17 | </p> |
18 | 18 | <p> |
19 | 19 | <?php printf( |
20 | - esc_html__('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'), |
|
21 | - '<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">', |
|
22 | - '</a>' |
|
23 | - ); ?> |
|
20 | + esc_html__('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'), |
|
21 | + '<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">', |
|
22 | + '</a>' |
|
23 | + ); ?> |
|
24 | 24 | </p> |
25 | 25 | |
26 | 26 | </div> |
27 | 27 | \ No newline at end of file |
@@ -23,17 +23,17 @@ |
||
23 | 23 | <li> |
24 | 24 | <strong><?php esc_html_e('PayPal Calculates Taxes', 'event_espresso'); ?></strong><br /> |
25 | 25 | <?php printf(esc_html__('If set to "Yes", we will indicate to PayPal that it should calculate the taxes on the order and add it. This means PayPal\'s tax calculations will be used on the order instead of Event Espresso\'s. %1$sRead here for more information.%2$s', 'event_espresso'), "<a href='https://www.paypal.com/ca/cgi-bin/webscr?cmd=xpt/Marketing/shipping/EasyCalculateShipAndTax-outside' target='_blank'>", '</a>'); ?><br/> |
26 | -<?php esc_html_e('Note: It may confuse users if Event Espresso initially calculates taxes on the order, and then they go to PayPal and it calculates taxes differently. So it is recommended that if PayPal is calculating taxes, that you do not set any taxes in Event Espresso.', 'event_espresso');?> |
|
26 | +<?php esc_html_e('Note: It may confuse users if Event Espresso initially calculates taxes on the order, and then they go to PayPal and it calculates taxes differently. So it is recommended that if PayPal is calculating taxes, that you do not set any taxes in Event Espresso.', 'event_espresso'); ?> |
|
27 | 27 | </li> |
28 | 28 | <li> |
29 | 29 | <strong><?php esc_html_e('PayPal Calculates Shipping', 'event_espresso'); ?></strong><br /> |
30 | 30 | <?php esc_html_e('Similar to the "PayPal Calculates Taxes" setting, if this is set to "Yes", we will indicate to PayPal that it should calculate the shipping on each payment (if there are multiple payments for a single transaction, PayPal is permitted to add shipping charges to each payment.)', 'event_espresso'); ?><br/> |
31 | -<?php esc_html_e('Important Note: PayPal will ONLY calculate shipping on an order if "Shipping Address Options" is set to "Prompt for an Address" (otherwise how will PayPal know how much to charge for shipping if it doesn\'t know where it\'s shipping to?)', 'event_espresso');?> |
|
31 | +<?php esc_html_e('Important Note: PayPal will ONLY calculate shipping on an order if "Shipping Address Options" is set to "Prompt for an Address" (otherwise how will PayPal know how much to charge for shipping if it doesn\'t know where it\'s shipping to?)', 'event_espresso'); ?> |
|
32 | 32 | <li> |
33 | -<strong><?php esc_html_e('Notes Regarding Paypal Taxes and Shipping', 'event_espresso');?></strong><br/> |
|
34 | -<?php esc_html_e('If you want PayPal to calculate taxes and shipping on an order, those changes will NOT appear during the initial registration process until the user is redirected to PayPal for payment.', 'event_espresso');?><br/> |
|
35 | -<?php esc_html_e('However, after the user has returned from PayPal, their order in Event Espresso will be updated with the new taxes and added shipping charges (e.g. it will appear on their receipt.)', 'event_espresso');?><br/> |
|
36 | -<?php esc_html_e('Also Note: In order for PayPal to properly calculate taxes and shipping, they need to receive the entire order at the same time. So if a user goes to make a payment using PayPal, and their order somehow already has a payment on it, PayPal CANNOT calculate taxes or shipping on that order.', 'event_espresso');?> |
|
33 | +<strong><?php esc_html_e('Notes Regarding Paypal Taxes and Shipping', 'event_espresso'); ?></strong><br/> |
|
34 | +<?php esc_html_e('If you want PayPal to calculate taxes and shipping on an order, those changes will NOT appear during the initial registration process until the user is redirected to PayPal for payment.', 'event_espresso'); ?><br/> |
|
35 | +<?php esc_html_e('However, after the user has returned from PayPal, their order in Event Espresso will be updated with the new taxes and added shipping charges (e.g. it will appear on their receipt.)', 'event_espresso'); ?><br/> |
|
36 | +<?php esc_html_e('Also Note: In order for PayPal to properly calculate taxes and shipping, they need to receive the entire order at the same time. So if a user goes to make a payment using PayPal, and their order somehow already has a payment on it, PayPal CANNOT calculate taxes or shipping on that order.', 'event_espresso'); ?> |
|
37 | 37 | </li> |
38 | 38 | <li> |
39 | 39 | <strong><?php esc_html_e('Shipping Address Options', 'event_espresso'); ?></strong><br /> |
@@ -26,16 +26,16 @@ discard block |
||
26 | 26 | <tr> |
27 | 27 | <td> |
28 | 28 | <?php echo esc_html( |
29 | - apply_filters( |
|
30 | - 'FHEE__ee_migration_page__option_1_main', |
|
31 | - esc_html__( |
|
32 | - 'Before updating your database, you should first create a database backup', |
|
33 | - "event_espresso" |
|
34 | - ), |
|
35 | - $current_db_state, |
|
36 | - $next_db_state |
|
37 | - ) |
|
38 | - ); |
|
29 | + apply_filters( |
|
30 | + 'FHEE__ee_migration_page__option_1_main', |
|
31 | + esc_html__( |
|
32 | + 'Before updating your database, you should first create a database backup', |
|
33 | + "event_espresso" |
|
34 | + ), |
|
35 | + $current_db_state, |
|
36 | + $next_db_state |
|
37 | + ) |
|
38 | + ); |
|
39 | 39 | ?> |
40 | 40 | <a id="display-migration-details" |
41 | 41 | class="display-the-hidden lt-grey-text smaller-text hide-if-no-js" |
@@ -50,17 +50,17 @@ discard block |
||
50 | 50 | class="toggle-migration-monitor button-primary" |
51 | 51 | > |
52 | 52 | <?php echo esc_html( |
53 | - apply_filters( |
|
54 | - 'FHEE__ee_migration_page__option_1_button_text', |
|
55 | - sprintf( |
|
56 | - esc_html__("My Database Is Backed Up, Continue", "event_espresso"), |
|
57 | - $current_db_state, |
|
58 | - $next_db_state |
|
59 | - ), |
|
60 | - $current_db_state, |
|
61 | - $next_db_state |
|
62 | - ) |
|
63 | - ); ?></a> |
|
53 | + apply_filters( |
|
54 | + 'FHEE__ee_migration_page__option_1_button_text', |
|
55 | + sprintf( |
|
56 | + esc_html__("My Database Is Backed Up, Continue", "event_espresso"), |
|
57 | + $current_db_state, |
|
58 | + $next_db_state |
|
59 | + ), |
|
60 | + $current_db_state, |
|
61 | + $next_db_state |
|
62 | + ) |
|
63 | + ); ?></a> |
|
64 | 64 | </td> |
65 | 65 | </tr> |
66 | 66 | <tr> |
@@ -68,15 +68,15 @@ discard block |
||
68 | 68 | <div id="migration-details-dv" style="display: none; padding: 1em;"> |
69 | 69 | <p> |
70 | 70 | <?php printf( |
71 | - esc_html__( |
|
72 | - '%1$sClick Here to Learn How To Backup your Database Yourself%2$s. Or have one of our dedicated support technicians help you by %3$spurchasing a Priority Support Token.%2$s', |
|
73 | - "event_espresso" |
|
74 | - ), |
|
75 | - '<a target="_blank" href="https://eventespresso.com/wiki/how-to-back-up-your-site/">', |
|
76 | - "</a>", |
|
77 | - "<a target=\"_blank\" href='https://eventespresso.com/product/priority-support-tokens/'>" |
|
78 | - ); |
|
79 | - ?> |
|
71 | + esc_html__( |
|
72 | + '%1$sClick Here to Learn How To Backup your Database Yourself%2$s. Or have one of our dedicated support technicians help you by %3$spurchasing a Priority Support Token.%2$s', |
|
73 | + "event_espresso" |
|
74 | + ), |
|
75 | + '<a target="_blank" href="https://eventespresso.com/wiki/how-to-back-up-your-site/">', |
|
76 | + "</a>", |
|
77 | + "<a target=\"_blank\" href='https://eventespresso.com/product/priority-support-tokens/'>" |
|
78 | + ); |
|
79 | + ?> |
|
80 | 80 | </p> |
81 | 81 | <?php do_action('AHEE__ee_migration_page__option_1_extra_details'); ?> |
82 | 82 | </div> |
@@ -87,9 +87,9 @@ discard block |
||
87 | 87 | </div> |
88 | 88 | <p> |
89 | 89 | <?php esc_html_e( |
90 | - 'Don\'t want to keep your old Event Espresso data? Alternatively, you can delete it all and start fresh.', |
|
91 | - 'event_espresso' |
|
92 | - ); ?> |
|
90 | + 'Don\'t want to keep your old Event Espresso data? Alternatively, you can delete it all and start fresh.', |
|
91 | + 'event_espresso' |
|
92 | + ); ?> |
|
93 | 93 | <a |
94 | 94 | href="<?php echo esc_url_raw($data_reset_page); ?>" |
95 | 95 | > |