Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
RCP Sample Gateway
function pw_rcp_register_2checkout_gateway( $gateways ) {
$gateways['2checkout'] = array(
'label' => '2Checkout',
'admin_label' => '2Checkout Redirect',
'class' => 'RCP_Payment_Gateway_2Checkout'
return $gateways;
add_filter( 'rcp_payment_gateways', 'pw_rcp_register_2checkout_gateway' );

This comment has been minimized.

Copy link

@neovash23 neovash23 commented Mar 22, 2018

I am new, and using RCP WP plugin. where Do I exactly put this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment