Thank you for that! I'm not much of a coder, so to be clear, should the comment creation starting at line 92 look like this?
Code:
$comments =
'FUNDS CAPTURED. Trans ID: ' . $capture_response['id'] . "\n" .
"Amount: $amount\n" .
$capture_response['seller_receivable_breakdown']['platform_fee']['value'] . ' ' . $capture_response['seller_receivable_breakdown']['platform_fee']['currency_code'] .
$payer_note;
Testing this did not result in an error, but also did not present the fee. I'm probably missing something obvious...
Thanks.