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
145145
146146 /**
147147 * Obtain Paystack payment information
148- * @return [type] [description]
148+ * @return void
149149 */
150150 public function handleGatewayCallback()
151151 {
@@ -178,22 +178,28 @@ Paystack::getAuthorizationUrl()->redirectNow();
178178Paystack::getPaymentData();
179179
180180/**
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
182182 * @returns array
183183 */
184184Paystack::getAllCustomers();
185185
186186/**
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
188188 * @returns array
189189 */
190190Paystack::getAllPlans();
191191
192192/**
193- * This method returns all the transactions that have occurred
193+ * This method gets all the transactions that have occurred
194194 * @returns array
195195 */
196196Paystack::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();
197203```
198204
199205A sample form will look like so:
You can’t perform that action at this time.
0 commit comments