Use edd_get_payment_meta_cart_details() in edd_get_payment_subtotal instead of get_post_met()