File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class PaymentController extends Controller
145
145
146
146
/**
147
147
* Obtain Paystack payment information
148
- * @return [type] [description]
148
+ * @return void
149
149
*/
150
150
public function handleGatewayCallback()
151
151
{
@@ -178,22 +178,28 @@ Paystack::getAuthorizationUrl()->redirectNow();
178
178
Paystack::getPaymentData();
179
179
180
180
/**
181
- * This method returns all the customers that have performed transactions on your platform with Paystack
181
+ * This method gets all the customers that have performed transactions on your platform with Paystack
182
182
* @returns array
183
183
*/
184
184
Paystack::getAllCustomers();
185
185
186
186
/**
187
- * This method returns all the plans that you have registered on Paystack
187
+ * This method gets all the plans that you have registered on Paystack
188
188
* @returns array
189
189
*/
190
190
Paystack::getAllPlans();
191
191
192
192
/**
193
- * This method returns all the transactions that have occurred
193
+ * This method gets all the transactions that have occurred
194
194
* @returns array
195
195
*/
196
196
Paystack::getAllTransactions();
197
+
198
+ /**
199
+ * This method generates a unique super secure cryptograhical hash token to use as transaction reference
200
+ * @returns string
201
+ */
202
+ Paystack::genTranxRef();
197
203
```
198
204
199
205
A sample form will look like so:
You can’t perform that action at this time.
0 commit comments