|
|
|
|
75
|
$bill_desc = urlencode(preg_replace('/[^A-Z0-9,\-_]/i', '_', $detail));
|
75
|
$bill_desc = urlencode(preg_replace('/[^A-Z0-9,\-_]/i', '_', $detail));
|
76
|
$amount = sprintf('%0.2f', $payable->getBillAmount());
|
76
|
$amount = sprintf('%0.2f', $payable->getBillAmount());
|
77
|
$currency = $payable->getBillCurrency();
|
77
|
$currency = $payable->getBillCurrency();
|
78
|
- $verify_code = md5($amount . $this->merchant_id . $payable->getBillId() . $this->verify_key);
|
|
|
|
|
78
|
+ $vcode = md5($amount . $this->merchant_id . $payable->getBillId() . $this->verify_key);
|
79
|
|
79
|
|
80
|
$query = array_merge(
|
80
|
$query = array_merge(
|
81
|
compact(
|
81
|
compact(
|
82
|
'amount', 'orderid', 'bill_name', 'bill_email', 'bill_mobile',
|
82
|
'amount', 'orderid', 'bill_name', 'bill_email', 'bill_mobile',
|
83
|
- 'bill_desc', 'country', 'verify_code', 'currency'
|
|
|
|
|
83
|
+ 'bill_desc', 'country', 'vcode', 'currency'
|
84
|
),
|
84
|
),
|
85
|
Arr::only($this->config->get('payment.gateway.razerpay.options', []), ['channel', 'returnurl', 'callbackurl']),
|
85
|
Arr::only($this->config->get('payment.gateway.razerpay.options', []), ['channel', 'returnurl', 'callbackurl']),
|
86
|
Arr::only($options, ['channel', 'returnurl', 'callbackurl'])
|
86
|
Arr::only($options, ['channel', 'returnurl', 'callbackurl'])
|