• Resolved creapress

    (@creapress)


    Hello,

    Is it possible to save credit card informations and take the payment later ? Is Stripe paymentintent API configured in the plugin?

    Thanks for your attention

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @creapress

    Your customers have the option to save their payment method on the checkout page if that’s what you’re referring to. Or are you asking if you can programmatically save a customer’s payment info during checkout?

    Kind Regards

    Thread Starter creapress

    (@creapress)

    Hi and thanks for your reply,

    We would like to be able to authorize payment for a booking and capture it few days or even few weeks later.

    Plugin Author Payment Plugins

    (@mrclayton)

    We would like to be able to authorize payment for a booking and capture it few days or even few weeks later.

    Authorizations typically only last about 7 days before they expire. For that reason, you should authorize the payment but also save the customer’s payment method. That way, if the authorization expires, you can still charge the customer’s payment method.

    Example:

    add_filter('wc_stripe_force_save_payment_method', function($bool, $order, $payment_method){
    	if(is_checkout()){
    		$bool = true;
    	}
    	return $bool;
    }, 10, 3);

    Kind Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Save card info and charge later’ is closed to new replies.