The rpress_payment_cart_details filter is used to retrieve payment cart details, the filter includes a two-parameters.
$art_details ->is an array containing cart items details
$ID -> get fooditems id.
An example of how you can append additional information:
function get_payment_cart_details($cart_details) { $cart_details = //get cart items price details. } add_filter( 'rpress_payment_cart_details', 'get_payment_cart_details' ,10 ,2 );