Stripe: More payment options

Hey, already asked this question yesterday and i thought it was a stripe problem, but it still hasn’t changed:
We've activated the stripe payment within the Membership 2 Plugin. We also actived some more payment options at stripe besides just the creditcard option (see screenshot). will the plugin automaticcly recognise the other payment optiosn or is creditcard the only option?

  • Paul Kevin

    Hello Alexander,

    Hope you are well today. By default this wont be available in Membership but will need to be added in the Stripe payment script as below:

    //Alipay
    add_filter( 'ms_gateway_stripe_form_details', function( $stripe_data , $invoice ){
    	$stripe_data['type] = 'alipay';
    	return $stripe_data;
    });
    
    //Ban Contact
    add_filter( 'ms_gateway_stripe_form_details', function( $stripe_data , $invoice ){
    	$stripe_data['type] = 'bancontact';
    	return $stripe_data;
    });
    
    //IDeal
    add_filter( 'ms_gateway_stripe_form_details', function( $stripe_data , $invoice ){
    	$stripe_data['type] = 'ideal';
    	return $stripe_data;
    });

    This can be seen from here https://stripe.com/docs/sources and as of now, not all can be used at once in Membership.

    Warm Regards
    Paul Kevin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.