PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.6.8
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.6.8
5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / invoices / payment_form / _processors.php
latepoint / lib / views / invoices / payment_form Last commit date
_confirmation.php 1 year ago _methods.php 1 year ago _pay.php 1 year ago _processors.php 1 year ago
_processors.php
48 lines
1 <?php
2 /*
3 * Copyright (c) 2023 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $enabled_payment_processors array */
7 /* @var $form_prev_button string */
8 /* @var $form_next_button string */
9 /* @var $transaction_intent OsTransactionIntentModel */
10 /* @var $errors array */
11 ?>
12 <?php
13 /**
14 * Content for order payment - before payment processors step
15 *
16 * @param {OsTransactionIntentModel} transaction intent for a payment
17 *
18 * @since 5.1.0
19 * @hook latepoint_order_payment__processors_content_before
20 *
21 */
22 do_action( 'latepoint_order_payment__processors_content_before', $transaction_intent );
23 ?>
24 <div class="lp-payment-methods-w">
25 <div class="lp-options lp-options-grid lp-options-grid-three">
26 <?php
27 foreach ( $enabled_payment_processors as $pay_processor_code => $pay_processor ) {
28 $pay_processor['label'] = $pay_processor['front_name'] ?? $pay_processor['name'];
29 $pay_processor['css_class'] = $pay_processor['css_class'] ?? 'lp-payment-trigger-payment-processor-selector';
30 $pay_processor['attrs'] = $pay_processor['attrs'] ?? ' data-holder="payment_processor" data-value="' . esc_attr( $pay_processor_code ) . '" ';
31 $form_content = OsStepsHelper::output_list_option( $pay_processor );
32 }
33 ?>
34 </div>
35 </div>
36
37 <?php
38 /**
39 * Content for order payment - after payment processors step
40 *
41 * @param {OsTransactionIntentModel} transaction intent for a payment
42 *
43 * @since 5.1.0
44 * @hook latepoint_order_payment__processors_content_after
45 *
46 */
47 do_action( 'latepoint_order_payment__processors_content_after', $transaction_intent );
48