Filters the Stripe Checkout arguments when using the [register_form] shortcode. You can use this to change the configuration options.
Parameters:
- $data (array) - Default configuration sent to Stripe.
Example:
This snippet will enable the collection of the user's billing address:
function ag_rcp_stripe_checkout_billing_address( $data ) { $data['billing-address'] = true; return $data; } add_filter( 'rcp_stripe_checkout_form_data', 'ag_rcp_stripe_checkout_billing_address' );
Note: This filter is for the regular [register_form] shortcode only. If you're using the [register_form_stripe] shortcode, see the rcp_stripe_checkout_data filter instead.