@php($secretkey = $config->secret_key)
@php($data = new \stdClass())
@php($data->merchantId = $config->merchant_id)
@php($data->amount = number_format($payment_data->payment_amount, 2) )
@php($data->attribute = $payment_data->attribute)
@php($data->attribute_id = $payment_data->attribute_id)
@php($data->name = $payer->name??'')
@php($data->email = $payer->email ??'')
@php($data->phone = $payer->phone ??'')
@php($mode = $config->mode ?? 'test')
@php($data->hashed_string = md5($secretkey . urldecode($data->attribute.$data->amount.$data->attribute_id) ))