|
|
@ -658,6 +658,7 @@ class Index extends CI_Controller {
|
|
|
|
$post_data->mc_fee = $post_data->resource->transaction_fee->value;
|
|
|
|
$post_data->mc_fee = $post_data->resource->transaction_fee->value;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'PAYMENT.SALE.REFUNDED':
|
|
|
|
case 'PAYMENT.SALE.REFUNDED':
|
|
|
|
|
|
|
|
$pn_invoice = $post_data->resource->invoice_number;
|
|
|
|
$pn_payment_status = 'Refunded';
|
|
|
|
$pn_payment_status = 'Refunded';
|
|
|
|
$pn_mc_gross = '-' . $post_data->resource->amount->total;
|
|
|
|
$pn_mc_gross = '-' . $post_data->resource->amount->total;
|
|
|
|
$post_data->parent_txn_id = $post_data->resource->sale_id;
|
|
|
|
$post_data->parent_txn_id = $post_data->resource->sale_id;
|
|
|
|