PluginProbe
Pay with Vipps and MobilePay for WooCommerce / 6.2.5
Pay with Vipps and MobilePay for WooCommerce v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.10 6.1.9 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 5.4.3 5.4.2 All 187 releases
woo-vipps / recurring / includes / pages / admin / vipps-recurring-admin-menu-page.php

vipps-recurring-admin-menu-page.php in Pay with Vipps and MobilePay for WooCommerce 6.2.5, at recurring/includes/pages/admin/vipps-recurring-admin-menu-page.php

78 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4
5 ?>
6
7 <div class="wrap">
8 <h1>
9 <?php echo __( 'Vipps/MobilePay Recurring Payments', 'woo-vipps' ); ?>
10 </h1>
11
12 <?php
13 /* translators: link to the plugin's settings page */
14 echo sprintf( __( "This area is for special actions that aren't settings. If you are looking for the plugin's settings, click <a href='%s'>here</a>.", 'woo-vipps' ), admin_url( 'admin.php?page=wc-settings&tab=checkout&section=vipps_recurring' ) );
15 ?>
16
17 <div class="card">
18 <p>
19 <?php echo __( 'If you have a lot of Vipps/MobilePay subscription orders that are currently on-hold you might want to force check the status of all the orders instead of waiting for the cron-job to do it\'s job.', 'woo-vipps' ); ?>
20 </p>
21
22 <button
23 class="button button-primary"
24 type="submit"
25 id="check_charge_statuses_now"
26 >
27 <?php echo __( 'Check status of all Vipps/MobilePay subscription orders now', 'woo-vipps' ); ?>
28 </button>
29 </div>
30
31 <h2>
32 <?php echo __( 'Pending Charges', 'woo-vipps' ); ?>
33 </h2>
34
35 <form method="get">
36 <input type="hidden" name="page" value="woo-vipps-recurring">
37
38 <?php
39 global $wc_vipps_recurring_list_table_pending_charges;
40
41 if ( $wc_vipps_recurring_list_table_pending_charges ) {
42 $wc_vipps_recurring_list_table_pending_charges->prepare_items();
43 echo $wc_vipps_recurring_list_table_pending_charges->display();
44 }
45 ?>
46 </form>
47
48 <h2>
49 <?php echo __( 'Failed Charges', 'woo-vipps' ); ?>
50 </h2>
51
52 <p>
53 <?php
54
55 echo sprintf(
56 /* translators: %s: link to possible failure reasons */
57 __( 'A list of possible failure reasons and what they mean can be found %s', 'woo-vipps' ),
58 '<a href="https://developer.vippsmobilepay.com/docs/APIs/recurring-api/vipps-recurring-api/#charge-failure-reasons" target="_blank" rel="noreferrer">' . __( 'here', 'woo-vipps' ) . '</a>'
59 );
60
61 ?>
62
63 </p>
64
65 <form method="get">
66 <input type="hidden" name="page" value="woo-vipps-recurring">
67
68 <?php
69 global $wc_vipps_recurring_list_table_failed_charges;
70
71 if ( $wc_vipps_recurring_list_table_failed_charges ) {
72 $wc_vipps_recurring_list_table_failed_charges->prepare_items();
73 echo $wc_vipps_recurring_list_table_failed_charges->display();
74 }
75 ?>
76 </form>
77 </div>
78