We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373c130 commit 0660b7bCopy full SHA for 0660b7b
modules/gateways/razorpay.php
@@ -36,9 +36,9 @@ function razorpay_MetaData()
36
*/
37
function razorpay_config()
38
{
39
- $systemurl = mysql_fetch_assoc(select_query('tblconfiguration', 'value', array("setting"=>'SystemURL')));
+ global $CONFIG;
40
41
- $webhookUrl = $systemurl['value'].'modules/gateways/razorpay/razorpay-webhook.php';
+ $webhookUrl = $CONFIG['SystemURL'].'/modules/gateways/razorpay/razorpay-webhook.php';
42
43
return array(
44
// the friendly display name for a payment gateway should be
0 commit comments