Payment Option is not visible after installing payment gateway module
-
I am using 1.6.1.23 version of Qloapps. Initially only two payment modules bankwire and cheque were installed. Later I have installed paypal(offered by Qloapps), and razorpay(I created my custom razorpay module). Both installed successfully but for razorpay after adding the configuration details, key id and secret, it is not showing as payment option after checkout. And for the paypal after adding the configuration details I am getting below exception:
-
This post is deleted! -
PayPal requires a public URL and an SSL-enabled domain to function properly. Since you are currently working on localhost, PayPal will not work in this environment.
Please try using it on a public domain with SSL (HTTPS) enabled for proper functionality.
Regarding the custom Razorpay module not showing as a payment option after checkout
the payment options on the checkout page in the front end are displayed using the
displayPayment
hook in QloApps.To understand how this works, you can:
- Check Hooks usage in QloApps developer docs – Visit QloApps Hooks Documentation for details on how hooks function.
- Review Existing Payment Gateways – Look into the code of already provided payment modules like PayPal or Bank Wire to see how they implement the
displayPayment
hook.