PayPal Standard

You can simplify accepting payments on your WordPress website with the PayPal Checkout Add-On. RestroPress comes with PayPal Standard built-in and everything in this document deals with core features. PayPal Standard is the basic PayPal account you can get in

rpress_checkout_table_footer_first

Runs just before the first cell of the checkout cart table footer. Designed for adding new columns to the checkout cart

rpress_api_output_before

This action runs just before the json/xml is printed to the screen when performing an rpress_API request. do_action( 'rpress_api_output_before', $data, $api_object, $format );

rpress_before_cc_expiration

Runs just before the expiration fields are outputted for the default credit card form.

rpress_post_update_discount

This action runs after a discount code is updated. It receives two parameters, $discount_details and $id. $discount_details is an array containing all fields for the discount, such as name, amount, type, etc. do_action( 'rpress_post_update_discount', $discount_details, $id );

wp_ajax_nopriv_rpress_apply_discount

This is the action that is run when the “Apply Discount” link is clicked from the checkout page by a non-logged-in-user.

rpress_post_remove_cart_discount

This action just after a discount is removed from the shopping cart. do_action( 'rpress_post_remove_cart_discount', $discount_id );

rpress_checkout_table_header_last

Runs at the end of the checkout cart table header cells. Designed for adding new checkout table columns at the end of the table.

rpress_post_update_discount_status

This action just after the status of a discount code is changed. do_action( 'rpress_post_update_discount_status', $discount_id, $new_status, $old_status );

rpress_pre_update_discount

This action runs just before a discount code is updated. It receives two parameters, `$discount_details` and `$discount_id`. `$discount_details` is an array containing all fields for the discount, such as name, amount, type, etc. do_action( 'rpress_pre_update_discount', $discount_details, $discount_id );