Get the amount paid by PayPal or Credit card? (order page)

Started by EvanGR, June 28, 2021, 15:30:31 PM

Previous topic - Next topic

EvanGR

Hello,

I am building some custom scripts to enhance the Order page in the VM backend.

I need to get the amount the customer paid by PayPal or Credit Card, as a floating point number in PHP.

It's a little tricky because these work through vm payment plugins and are not immediately accessible in the order.php file.

Is there a simple way to get those numbers?

Thanks