Update Credit Card Stripe Form Bug

There seems to be a bug with the update credit card for ( [s2Member-Pro-Stripe-Form update=“1” … /] ).

When trying to update, a browser alert says “No Billing Method; please try again.”. Sometimes it still goes through, but sometimes it requires the customer to click the submit button 3 times before it actually works. In those cases the browser alert still comes up every time.

Is there a fix for this?

Hi Corey.

I haven’t seen that behavior myself, or remember another reporting it. Could you help me reproduce it?

Could you tell me the steps to follow to make it happen? That way I can start pulling the string to see what is causing it.

I look forward to your update. :slight_smile:

I’m not sure I have much more info on how to reproduce the issue. I just used that shortcode to create the update CC form. And when I try to update, that is what happens.

I ended up fixing it by commenting out the following from \s2member-pro\src\includes\separates\gateways\stripe\stripe.js

                        alert('<?php echo c_ws_plugin__s2member_utils_strings::esc_js_sq(_x("No Billing Method; please try again.", "s2member-front", "s2member")); ?>');
                        return false; // Error; cannot continue in this scenario.
1 Like

Very good. Thank you for the additional info. I’ll look closer into it.