I'm trying to implement on my site a system that needs to know if the payment was successful and what gross. From that, I would call a shortcode I downloaded that adds credits to the person using the site.
I know that Paypal sends the variable mc_gross, but still did not work.
Have a clue how to make it work?
I am using version 2.0.12 woocommerce, payment via Paypal.