• Resolved townofdon

    (@townofdon)


    Hi there!

    I have a client who uses the Woocommerce Stripe plugin – their business model is unique in that they need to re-charge customers who purchase items on their WordPress site, even if the customer does not create an account.

    Previously, I was able to add the previous code to force customer creation to always happen:

    add_filter( 'wc_stripe_force_customer_creation', '__return_true' );

    Unfortunately it looks like the ‘wc_stripe_force_customer_creation’ hook was removed and this is no longer possible. After looking through the code it wasn’t immediately obvious if there was another hook.

    Is there another way to force customer creation to always occur on payment_process?

    Thanks!

    • This topic was modified 7 years ago by townofdon. Reason: Edited code block
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor royho

    (@royho)

    Use add_filter( 'wc_stripe_force_save_source', '__return_true' );

    Thread Starter townofdon

    (@townofdon)

    That did the trick! Thank you very much.

    • This reply was modified 7 years ago by townofdon.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Process order: Force customer creation no longer working’ is closed to new replies.