- Get input from the user
- Check if it is non negative integers, and 11 digits
- Query Rave BVN Validator API with Secret key and user's sanitized input
- Notify the user via a notification box whether the entered BVN is validated or an error occurred
- Empty out the user's input
- Display a payment page with amount acurred from the ride
- On click of the 'Pay my Ride' button, which query Rave Payment API
- Enter preferred payment method and details
- After success response from the API, redirect to url with verification script (Mock SERVER verification)
- Query Rave payment verification API with txtref and SECKEY
- Validate returned response with Amount, Currency, txref, and status
- If correct, fetch META object and redirect to a success page
- Display merchant_commission, and subaccount_earning
npm install
npm run serve
Developed with vue.js, love and some cups of coffee