rpress_should_process_pending

The rpress_should_process_pending filter is used to Allow extensions to filter for their own payment types Process when a payment moves to pending, for Example, Recurring Payments.   function process_payment_pending( $process_pending,$payment_id ) { $process_pending = //get pending payment gateway id. }

rpress_payment_cart_details

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) {

rpress_payment_completed_date

The rpress_payment_completed_date filter is used to retrieve the payment completion date, The filter accepts two parameters. An example of how you can append additional information: function get_completed_date($completed_date){ $completed_date = // get completed date. } add_filter( 'rpress_payment_completed_date','get_completed_date' , 10,2 );

rpress_get_payment_tax

The rpress_get_payment_tax filter is used to get the payment tax, the filter includes a three-parameter. $this->tax is gets all taxes. $this->ID is gets the id. An example of how you can append additional information: function get_payment_tax($tax){ $tax = //return tax

rpress_get_payment_subtotal

This filter is applied to use the payment subtotal amount data of orders, it is including two parameters. $this->subtotal is got the subtotal value. $this->ID is used to get id. An example of how you can append additional information: function

rpress_payment_discounted_amount

This filter is applied to use the discounted amount of the payment, it is including two parameters. $total is a variable that stores the total amount. $fees are stored in the amount of the fee. $tax is stored the tax

rpress_payment_currency_code

This filter is applied to use the Payment currency code, it is including two parameters. $currency ->is a string to get currency. $ID ->is used to get id. function get_currency_code( $currency ) { return $currency //return payment currency code. }

rpress_payment_gateway

This filter is applied to use the list of all available gateways, it is including one parameter. $gateways-> is an array of all the available gateways. An example of how you can append additional information: function get_gateways( $gateways ){ //

rpress_payment_user_ip

This filter is applied to use to retrieve payment IP, it is including two parameters. apply_filters( ‘rpress_payment_user_ip’, $this->ip, $this->ID, $this ); $this->ip is to get payment IP address $this->ID is used to get id. $this is used to get access

rpress_payment_customer_id

This filter is applied to use the payment customer ID, it is including two parameters. $customer_id -> get the int value of customer-id $ID -> is used to get id. An example of how you can append additional information: function