Zen Follower
- Join Date:
- Sep 2014
- Location:
- Indiana
- Posts:
- 123
- Plugin Contributions:
- 0
Display Fee amount in admin order comment?
Using 1.5.8a; Paypal Restful 1.0.4
When capturing a paypal payment, the admin order comment (which we have flagged as hidden) looks like:
*FUNDS CAPTURED. Trans ID: 3SD357xxxxxxxxx582M
Amount: 1.00 USD
Thank you for your order.*
Is there a way to add the paypal discount amount into this comment? For instance,
FUNDS CAPTURED. Trans ID: 3SD357xxxxxxxxx582M
Amount: 1.00 USD
Paypal fee: $0.32
Thank you for your order.
The comment is created in the \includes\modules\payment\paypal\PayPalRestful\Admin\DoCapture.php file, near line 93 but I was unable to find a variable containing the payment fee.
Thanks for any ideas.