WP Simple Pay: Use Payment Form Description as Payment Description

/** * @link https://library.wpcode.com/editor/ro8wd9ow/ */ add_filter( ‘simpay_get_paymentintent_args_from_payment_form_request’, /** * @param array $args Payment Intent arguments. * @param \SimplePay\Core\Abstracts\Form $form Form instance. */ function( $args, $form ) { $args[‘description’] = $form->item_description; return $args; }, 10, 2 );Continue reading

MemberPress: Change Stripe Payment Description

// For non-recurring function mepr_stripe_payment_descriptor( $args ){ $args[ ‘statement_descriptor’ ] = ‘Custom Descriptor’; // max 22 chars return $args; } add_filter( ‘mepr_stripe_payment_intent_args’, ‘mepr_stripe_payment_descriptor’, 10 );Continue reading