When activating a payment gateway on your dating site, you are usually asked to indicate success, failure and result URLs in your merchant cabinet.
Success and failure URLs are redirection links. When a transaction is successful, your site member will be redirected to the success URL. Otherwise, they will be taken to the failure URL. It means that you can basically put any links here, links to the pages that you want your site members to visit.
Result URL is necessary for the site payments to be automatically approved by the system. This is how you put it together:
site.com/payments/response/payment_gateway_name, for example, datingpro.com/payments/response/paypal.
Router.php Manages routing and URL processing
Key Details:
Controller Type | File Name | Purpose |
Module Controller |
| Handles site pages. |
Admin Controller |
| Handles admin panel pages. |
API Controller |
| Handles API endpoints. |
Additional Notes:
URI requests are matched against patterns in
seo_module_routes.php
.When
CUSTOM_MODE
is enabled, requests are routed through controllers prefixed with the custom mode value.