• Resolved richardmichael

    (@richardmichael)


    Using the classic checkout via the [woocommerce_checkout] shortcode, the checkbox for saving payment methods to the customer’s account is checked by default. This is ideal when using vaulting for recurring payments, such as in conjunction with a subscription/autoship feature.

    But if you use the new and recommended checkout experience from WooCommerce, using the Block-Based Checkout page, the checkbox is not checked by default.

    I realized this today as our autoship orders were failing on 1 website due to lacking a saved payment method. All but 1 customer on one of our website didn’t think to check the checkbox to save the payment method.

    The rest of our websites use the legacy checkout experience via the [woocommerce_checkout] shortcode. On those sites, there are no problems as the checkbox is checked by default.

    Wondering if there are filters or functions that can be used to get the checkbox checked by default. I would rather all sites get the Block-Based checkout since that seems to be the future. I mean, blocks in general are the future as this very support topic WYSIWYG editor utilizes blocks.

    I have already tested using the default theme and deactivating all plugins except for this plugin, our autoship plugin, and WooCommerce. No change – unless I switch the checkout page back to the legacy shortcode, of course.

    • This topic was modified 1 month, 3 weeks ago by richardmichael. Reason: added images
    • This topic was modified 1 month, 3 weeks ago by richardmichael. Reason: spelling, testing results
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @richardmichael

    Thank you for reaching out.

    The unmarked checkbox for saving payment methods is simply a visual issue in the Block-Based Checkout. It doesn’t affect the actual saving of payment methods in the Vault. So as soon as there is a subscription product in the cart we are going to send vault true independently of which value comes from the save card checkbox. I understand it might cause some confusion. However, I’m unable to reproduce it on my end with 2.9.6

    Please follow these steps to share your system status report with us:

    1. Navigate to the WooCommerce / Status section in your site’s admin panel.
    2. Click on the Get system report button and then click Copy for support.
    3. Paste the report into our PrivateBin.
    4. After uploading, please share the link here so we can review the details thoroughly.

    If you are experiencing issues with recurring payments or failed renewals, the issue may lie elsewhere. To help us diagnose further, we would need to review your plugin log files. Please make sure that Logging is enabled in your PayPal Payments plugin settings under the “Connection” tab. Once activated, any transactions will generate log entries.

    If logging wasn’t enabled previously, there will be no records for past transactions, but we can review the logs for any upcoming failed orders.

    To retrieve the logs, go to WooCommerce > Status > Logs, and select the most recent “woocommerce-paypal-payments” log file for the date of the failed order. After that, please upload the log file to PrivateBin and send us the link, so we can review it.

    Kind Regards,
    Krystian

    Plugin Support Femi

    (@femiyb)

    Hello @richardmichael

    Regards,
    Femi.

    Thread Starter richardmichael

    (@richardmichael)

    Kristian and Femi, I do have one other plugin called AutoShip from qPilot Cloud. It may or may not interfere with things. To Kristian’s point, it’s possible this plugin treats that checkbox as more than a visual reassurance.

    Let me create a new site and do some testing, then I will get back to you both.

    Thread Starter richardmichael

    (@richardmichael)

    I created a brand new website with only the WooCommerce and PayPal for WooCommerce plugins. The checkbox is unchecked for me with Block-Based Checkout.

    When I switch to the classic checkout via the [woocommerce_checkout] shortcode, the checkbox isn’t even visible. The plot thickens.

    Thread Starter richardmichael

    (@richardmichael)

    I heard back from qPilot, makers of the AutoShip plugin. They do expect the checkbox to be checked.

    Any function I can use to force this?

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @richardmichael

    I created a brand new website with only the WooCommerce and PayPal for WooCommerce plugins. The checkbox is unchecked for me with Block-Based Checkout.

    Please test this with the Storefront theme to check if the issue still persists. If you still experience the same problem, please reach out to us for further assistance here: WooCommerce PayPal Payments Support

    I heard back from qPilot, makers of the AutoShip plugin. They do expect the checkbox to be checked.

    Any function I can use to force this?

    There is no function to force the checkbox to be checked because it is already forced by default.

    Kind Regards,

    Krystian

    Thread Starter richardmichael

    (@richardmichael)

    @inpsydekrystian


    Block-Based

    • Storefront: unchecked
    • Twenty-Twenty Five: unchecked
    • Twenty-Twenty Four: unchecked
    • Twenty-Twenty Three: unchecked

    [woocommerce_checkout] shortcode

    • Storefront: does not appear
    • Twenty-Twenty Five: does not appear
    • Twenty-Twenty Four: does not appear
    • Twenty-Twenty Three: does not appear

    If you still experience the same problem, please reach out to us for further assistance here:?WooCommerce PayPal Payments Support

    Done!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.