Problem with Ajax Checkout on Shop As Customer

Hi,

After updating both Shop As Customer, WooCommerce Stripe Gateway, and WooCommerce, we can no longer check out using the "Check Out - Pay Now" button on a (WooCommerce) Subscription.  It comes back with the error:

Please enter your card details to make a payment. Developers: Please make sure that you are including jQuery and there are no JavaScript errors on the page.

I traced the problem down to the 


get_source()

function inside the woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php file. As it turns out, it is expecting the following POST fields::

Hi Keith

No we haven't experienced this before.

Does it work if you deactivate our plugin?

on November 11, 2016.

Hi Zack,

I haven't tried deactivating.  However, it works if a non-subscription product is being purchased.  Sorry I did not include that before.  The code fails because it's not getting certain $_POST fields (indicated in code above).   I'm just trying to figure out why it works in one product type, but not the other.

Thanks,

Keith

on November 12, 2016.

Hi Keith.

Can you try deactivating our plugin and seeing if it does work?

Thanks

Sean

on November 16, 2016.

Hi,

I'm having this same issue. I did deactivate Shop as Customer and Stripe gateway works fine. It's only when Shop as Customer is active that I get the error:

Please enter your card details to make a payment. Developers: Please make sure that you are including jQuery and there are no JavaScript errors on the page.

I get that error and the Stripe payment modal doesn't appear.

on September 8, 2017.

Hi Jon_o

Apologies for the delay... Are you still having this issue?

Our plugin is not giving any javascript errors when I check for them.

Can you please send a link to your site for us to check.

Thanks

on September 19, 2017.
Add Comment
1 Answer(s)

I have this issue too.

Answered on December 13, 2017.

Hi

I've asked the dev to look into this.

Can you maybe create a user and send us login details to look into this for you?

Thanks

 

on December 13, 2017.

DONE.  Please follow instructions.

on December 13, 2017.

Hello,

 

Have you looked into this?  I REALLY need this resolved.

on December 14, 2017.

Hi

Apologies for taking long on this, we have other requests we're trying to sort out as soon as possible too.

I've passed this on to the developer to sort out. Hoping he can get to this very soon.

Thanks

on December 21, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.