I need to use a new payment method, so i need a button to redirect me to a new page with a php for this method.
The problem is i dont know how to access to the Total amount variable from the cart. I only need that to send it via form to my php. I need to put it in the description for my payment method.
Any ideas?