File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ class PaymentController extends Controller
158
158
}
159
159
}
160
160
```
161
- Let me explain the two main fluent methods a bit here.
162
161
162
+ Let me explain the fluent methods this package provides a bit here.
163
163
``` php
164
164
/**
165
165
* This fluent method does all the dirty work of sending a POST request with the form data
@@ -176,6 +176,24 @@ Paystack::getAuthorizationUrl()->redirectNow();
176
176
* to allow for easy recurrent subscription.
177
177
*/
178
178
Paystack::getPaymentData();
179
+
180
+ /**
181
+ * This method returns all the customers that have performed transactions on your platform with Paystack
182
+ * @returns array
183
+ */
184
+ Paystack::getAllCustomers();
185
+
186
+ /**
187
+ * This method returns all the plans that you have registered on Paystack
188
+ * @returns array
189
+ */
190
+ Paystack::getAllPlans();
191
+
192
+ /**
193
+ * This method returns all the transactions that have occurred
194
+ * @returns array
195
+ */
196
+ Paystack::getAllTransactions();
179
197
```
180
198
181
199
A sample form will look like so:
You can’t perform that action at this time.
0 commit comments