@if($paygatename == 'Instamojo')
{{__("Order Transcation ID:")}}
|
{{$response['refund']['payment_id']}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response['refund']['id']}}
|
{{ __('REFUND Status:') }}
|
{{$response['refund']['status']}}
|
{{__("Refunded Amount:")}}
|
{{$response['refund']['refund_amount']}}
|
{{__("Total Order Amount:")}}
|
{{$response['refund']['total_amount']+$order->handlingcharge}}
|
{{__("Created at:")}}
|
{{ date('d-m-Y | h:i A',strtotime($response['refund']['created_at'])) }}
|
@elseif($paygatename == 'Stripe')
{{__("Order Transcation ID:")}}
|
{{$response['charge']}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response['id']}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst($response['status'])}}
|
{{__("Refunded Amount:")}}
|
{{$response['amount']/100}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{gmdate("d-m-Y\ | h:i A", $response['created'])}}
|
@elseif($paygatename == 'PayPal')
{{__("Order Transcation ID:")}}
|
{{$response->parent_payment}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response->id}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst($response->state)}}
|
{{__("Refunded Amount:")}}
|
{{$response->total_refunded_amount['value']}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{ date('d-m-Y | h:i A',strtotime($response->update_time)) }}
|
@elseif($paygatename == 'Razorpay')
{{__("Order Transcation ID:")}}
|
{{$response->items[0]->payment_id}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response->items[0]->id}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst($response->items[0]->entity)}}
|
{{__("Refunded Amount:")}}
|
{{$response->items[0]->amount/100}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{gmdate("d-m-Y\ | h:i A", $response->items[0]->created_at)}}
|
@elseif($paygatename == 'Paytm')
{{__("Order Transcation ID:")}}
|
{{$response['TXNID']}}
|
{{__("REFUND Transcation ID:")}}
|
{{$data->transaction_id}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst('Completed')}}
|
{{__("Refunded Amount:")}}
|
{{$response['REFUNDAMT']}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{ date('d-m-Y h:i a',strtotime($response['TXNDATE'])) }}
|
@elseif($paygatename == 'PayPal')
{{__("Order Transcation ID:")}}
|
{{$response->parent_payment}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response->id}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst($response->state)}}
|
{{__("Refunded Amount:")}}
|
{{$response->total_refunded_amount['value']}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{ date('d-m-Y | h:i A',strtotime($response->update_time)) }}
|
@elseif($paygatename == 'Razorpay')
{{__("Order Transcation ID:")}}
|
{{$response->items[0]->payment_id}}
|
{{__("REFUND Transcation ID:")}}
|
{{$response->items[0]->id}}
|
{{ __('REFUND Status:') }}
|
{{ucfirst($response->items[0]->entity)}}
|
{{__("Refunded Amount:")}}
|
{{$response->items[0]->amount/100}}
|
{{__("Total Order Amount:")}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{gmdate("d-m-Y\ | h:i A", $response->items[0]->created_at)}}
|
@elseif($paygatename == 'Paystack')
{{__("Order Transcation ID:")}}
|
{{ $response['data']['id'] }}
|
{{__("REFUND Transcation ID:")}}
|
{{ $response['data']['reference'] }}
|
{{ __('REFUND Status:') }}
|
{{ ucfirst($response['data']['status']) }}
|
{{__("Refunded Amount:")}}
|
{{$response['data']['amount']/100}}
|
{{__('Total Order Amount:')}}
|
{{round($order->order_total+$order->handlingcharge,2)}}
|
{{__("Created at:")}}
|
{{ date('d-m-Y h:i a',strtotime($response['data']['paid_at'])) }}
|
@endif