diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index e35e43c8..04592305 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -678,6 +678,7 @@ class Index extends CI_Controller { break; case 'PAYMENT.CAPTURE.REFUNDED': $pn_invoice = $post_data->resource->invoice_id; + $pn_custom = $post_data->resource->custom_id; $pn_mc_currency = $post_data->resource->amount->currency_code; $pn_mc_gross = '-' . $post_data->resource->amount->value; $pn_payment_status = 'Refunded';