VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: EvanGR on June 28, 2021, 15:30:31 PM

Title: Get the amount paid by PayPal or Credit card? (order page)
Post by: EvanGR on June 28, 2021, 15:30:31 PM
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