RedirectURL of payment gateway

2 weeks ago
I created a new payment plugin for phonepe payment gateway. Its working fine but i dont know what should be the returnURL once the payment is made.
I tried.
1.   var tempQueryParameters = queryParameters.Where(parameter =>
            .ToDictionary(parameter => parameter.Key, parameter => parameter.Value);
            var returnURL = tempQueryParameters["return"];

2. http://localhost:15536/onepagecheckout#opc-confirm_order
2 weeks ago
You can follow other payment plugin that provided by default nopCommerce.

Like PayPal Commerce (the official integration)