recurring.php
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
// Heading
$_['heading_title'] = 'Recurring Payments';
// Text
$_['text_account'] = 'Account';
$_['text_recurring'] = 'Recurring Payment Information';
$_['text_recurring_detail'] = 'Recurring Payment Details';
$_['text_order_recurring_id'] = 'Recurring ID:';
$_['text_date_added'] = 'Date Added:';
$_['text_status'] = 'Status:';
$_['text_payment_method'] = 'Payment Method:';
$_['text_order_id'] = 'Order ID:';
$_['text_product'] = 'Product:';
$_['text_quantity'] = 'Quantity:';
$_['text_description'] = 'Description';
$_['text_reference'] = 'Reference';
$_['text_transaction'] = 'Transactions';
$_['text_status_1'] = 'Active';
$_['text_status_2'] = 'Inactive';
$_['text_status_3'] = 'Cancelled';
$_['text_status_4'] = 'Suspended';
$_['text_status_5'] = 'Expired';
$_['text_status_6'] = 'Pending';
$_['text_transaction_date_added'] = 'Created';
$_['text_transaction_payment'] = 'Payment';
$_['text_transaction_outstanding_payment'] = 'Outstanding payment';
$_['text_transaction_skipped'] = 'Payment skipped';
$_['text_transaction_failed'] = 'Payment failed';
$_['text_transaction_cancelled'] = 'Cancelled';
$_['text_transaction_suspended'] = 'Suspended';
$_['text_transaction_suspended_failed'] = 'Suspended from failed payment';
$_['text_transaction_outstanding_failed'] = 'Outstanding payment failed';
$_['text_transaction_expired'] = 'Expired';
$_['text_empty'] = 'No recurring payments found!';
$_['text_error'] = 'The recurring order you requested could not be found!';
$_['text_cancelled'] = 'Recurring payment has been cancelled';
/*
$data['status_types'] = array(
1 => $this->language->get('text_status_inactive'),
2 => $this->language->get('text_status_active'),
3 => $this->language->get('text_status_suspended'),
4 => $this->language->get('text_status_cancelled'),
5 => $this->language->get('text_status_expired'),
6 => $this->language->get('text_status_pending'),
);
$data['transaction_types'] = array(
0 => $this->language->get('text_transaction_date_added'),
1 => $this->language->get('text_transaction_payment'),
2 => $this->language->get('text_transaction_outstanding_payment'),
3 => $this->language->get('text_transaction_skipped'),
4 => $this->language->get('text_transaction_failed'),
5 => $this->language->get('text_transaction_cancelled'),
6 => $this->language->get('text_transaction_suspended'),
7 => $this->language->get('text_transaction_suspended_failed'),
8 => $this->language->get('text_transaction_outstanding_failed'),
9 => $this->language->get('text_transaction_expired'),
);
private $recurring_status = array(
0 => 'Inactive',
1 => 'Active',
2 => 'Suspended',
3 => 'Cancelled',
4 => 'Expired / Complete'
);
private $transaction_type = array(
0 => 'Created',
1 => 'Payment',
2 => 'Outstanding payment',
3 => 'Payment skipped',
4 => 'Payment failed',
5 => 'Cancelled',
6 => 'Suspended',
7 => 'Suspended from failed payment',
8 => 'Outstanding payment failed',
9 => 'Expired'
);
*/
// Column
$_['column_date_added'] = 'Date Added';
$_['column_type'] = 'Type';
$_['column_amount'] = 'Amount';
$_['column_status'] = 'Status';
$_['column_product'] = 'Product';
$_['column_order_recurring_id'] = 'Recurring ID';
// Error
$_['error_not_cancelled'] = 'Error: %s';
$_['error_not_found'] = 'Could not cancel recurring';
// Button
$_['button_return'] = 'Return';