• Resolved ebphillip

    (@ebphillip)


    Checkout works as expected when subscriptions plugin is disabled, but when enabled this error is presented when attempting to place an order:
    Cannot read properties of null (reading ‘submit’)

    Logging is turned on, nothing gets added to any logs when this happens.

    This error seems to happen as soon as the Place Order button is clicked, if a required form field is left empty this error happens before the missing field is marked incomplete.

    Payment gateway: stripe

    Troubleshooting attempted:
    ? switched to default theme
    ? deactivated other plugins

    • This topic was modified 11 months, 2 weeks ago by ebphillip.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello,

    Thank you for trying our plugin, We are sure you are using official stripe for this and coming to error, we have not faced any such issues as of now from any user

    So we are not aware of this, but as you have checked from your end it’s from our plugin than we need test this condition,

    Please connect to our support team, so we can check check and make this work for your website

    Thank you!

    Thread Starter ebphillip

    (@ebphillip)

    Yes, we are using the WooCommerce Stripe Payment Gateway.

    How do I connect to your support team?

    Thank you

    Plugin Author WP Swings

    (@wpswings)

    Hello,

    Please connect here for support team

    Thank you

    Hello team,
    We are facing the same issue and the same error.
    Here are some screenshot of what we get when the plugin is enabled
    https://paste.pics/ec1803374935ec41a235879b247d760f
    and this is what we get when the plugin is disabled
    https://paste.pics/2ebe25ca98b8087cdc8e7f1dd986024e
    also on the checkout we have the same error above
    https://paste.pics/76440bf45cd797df8d08f80c50357641

    We are using your plugin with woocommerce latest version and woocommerce for stripe latest version
    If we disable the subscription plugin the payment work once enabled the error shows.

    Please let us know if there is a quick solution for it.
    Regards,

    • This reply was modified 11 months, 2 weeks ago by bowbow7.
    Plugin Author WP Swings

    (@wpswings)

    Hello,

    We need to check this on your website, so we request you to connect with us on support as we have also checked but not getting any issue like this as of now

    Thank you

    Same problem here. When the “Legacy Stripe Experience” is unchecked (so the new experience is used), this error pops out.

    Activating the “Legacy Stripe Experience”, the error dissapears but a PHP Fatal Error appears:
    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Wps_Subscriptions_Payment_Stripe_Main::wps_sfw_wc_stripe_force_save_source_callback(), 1 passed in /var/www/vhosts/XXXXXXXXXX.com/httpdocs/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /var/www/vhosts/XXXXXXXXXX.com/httpdocs/wp-content/plugins/subscriptions-for-woocommerce/package/gateways/stripe/class-wps-subscriptions-payment-stripe-main.php:106

    Temporary fixed by making the second argument ($customer) defaults to null.

    Plugin Author WP Swings

    (@wpswings)

    Hello,

    Thank you for sharing detailed explanation and temporary solution,

    We are also checking this issue at our end too, and once we will get this, will release update for same as soon as possible

    Thank you

    Plugin Author WP Swings

    (@wpswings)

    Hello,

    We are aware of this issue and also we are in discussion with Stripe team, as this seems to be something which needs to be done from their end

    So please wait for some days, all will be fixed, we are trying solution asap

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error on checkout’ is closed to new replies.