diff --git a/plugin/PayPalYPT/payout.php b/plugin/PayPalYPT/payout.php index a56eaa033..cd7c88ad5 100644 --- a/plugin/PayPalYPT/payout.php +++ b/plugin/PayPalYPT/payout.php @@ -1,29 +1,36 @@ \ No newline at end of file + +if(!is_object($response) || empty($response->result)){ + forbiddenPage('Request error'); +} + +?> +Subject: result->batch_header->sender_batch_header->email_subject; ?>
+Status: result->batch_header->batch_status; ?>
+Time: result->batch_header->time_created; ?>
+Amount: $result->batch_header->amount->value, $response->result->batch_header->amount->currency; ?>
\ No newline at end of file