Filter the parameters used to create the Stripe charge.


/**
 * Filter params used to create the Stripe charge.
 *
 * @since 2.4.4
 *
 * @param array  $params Array of parameters sent to Stripe.
 * @param object $order Order object for this checkout.
 */
apply_filters( 'pmpro_stripe_charge_params', array $params, MemberOrder $order );

For a full list of parameters, see the Stripe documentation on the charge object.

Parameters

$params
array; Array of params sent to Stripe.
$order
object; Order object for this checkout.

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/gateways/class.pmprogateway_stripe.php

View in Source Code