How to get order total in my payment method
I am trying to add a custom payment method to my wordpress project. In my plugin within the process_payment function i used this code for getting cart total amount.
This out put the total as follows at the mysql.
But i want to get the integer value only. Is this possible? If so how to do this?
and then you can get the content with