nazrulhassanmca on "[Plugin: Stripe Payment Gateway WooCommerce Addon] Woo update 14/06/2016 causes issues"

ساخت وبلاگ

Pierre Lebedel
Member
Posted 1 week ago #

Hi!
Since the Woocommerce 2.6.0 update, the ID of payment form has evolved from #stripe-cc-form to #wc-stripe-cc-form.

This seems to cause a lot of problems on the field validation...

For now, I have hardcoded the javascript file of our plugin to resolve the main problem (stripewoo.js, at line 7)

I hope it will make you save a little time

https://wordpress.org/plugins/stripe-woocommerce-addon/

Hi Pierre,

Will that solve the 'Blank String' Error? Do we need to do anything on our side?

Many thanks

Hi Pierre,

I meant... Do we need to re-install the plugin?

Many thanks...

Pierre Lebedel
Member
Posted 1 week ago #

Hi Keywahn!
Reinstall for now not change anything, I guess.
Meanwhile, you can try the change I made, it's easy and you'll see right away if it solves your problem.
Hope that helps!

Thanks Pierre,

How do we make the changes? I'm not sure what we need to add/change or where to change it.

Many thanks,

Kevan

Pierre Lebedel
Member
Posted 1 week ago #

Just modify the jQuery selector on the stripewoo.js file of the plugin :
Replace #stripe-cc-form by #wc-stripe-cc-form

Thanks Pierre,

Where do why find this file?

Thanks for taking the time to get back to me.

Pierre Lebedel
Member
Posted 1 week ago #

YOUR_SITE/wp-content/plugins/stripe-woocommerce-addon/assets/js/stripewoo.js

nazrulhassanmca
Member
Plugin Author

Posted 1 week ago #

@Pierre Lebedel

Thank you for figuring it out i will release a patch for this in immediate update update.

Gavin_Schriver
Member
Posted 1 week ago #

Hey, sorry to jump on this thread if it's inappropriate but I think I'm having the exact same issue (using a child theme of the X Theme) with the most recent versions of both WP and WC (2.6). I gave the jQuery selector fix a shot but it didn't seem to solve the issue - I still see
"You have passed a blank string for 'card'. You should remove the 'card' parameter from your request or supply a non-blank value." when attempting to run a card.

This absolutely seems to be a WC update issue - I've tried other Stripe plugins and had the same issue with passing parameters. But I'm not a js or plugin developer by any means so I'm not sure how to trouble shoot beyond that. Thanks!

This fix did not get rid of the blank card error for me

nazrulhassanmca
Member
Plugin Author

Posted 1 week ago #

Please clear your browser cache cookies history and try again logic is changes js file should load before becoming functional else directly hit following url in browser to make sure your changes are in there and then refresh checkout page and try again

YOUR_SITE/wp-content/plugins/stripe-woocommerce-addon/assets/js/stripewoo.js

Thank you this worked for me!

I've changed the jQuery selector as suggested, but it doesn't solve the issue for me ( i've tried with another browser to be sure about cache and so on )

My stripewoo.js is there:

https://www.nexlab.net/wp-content/plugins/stripe-woocommerce-addon/assets/js/stripewoo.js

nazrulhassanmca
Member
Plugin Author

Posted 1 week ago #

@nextime i need the theme from you to debug further the js file looks fine thats why i am not releasing plugin update yet

nazrulhassanmca
Member
Plugin Author

Posted 4 days ago #

Please install fresh code from repository and it should fix your problem

I cant release latest update to plugin as old users of the woo commerce plugin are also there so plugin might stop working if they update the plugin

Hi I tried reinstalling the plugin and clearing my cache but still no good. I noticed this error though on my browser console

credit-card-form.min.js?ver=2.6.1:1 Uncaught TypeError: a(...).payment is not a function

marcobritt
Member
Posted 3 days ago #

I replaced the code as well. Now the payment button doesn't work. The pay with paypal button still works but not Stripe.
I've cleared history...cache...tried different browsers...nothing
My website: https://paperclips.com

Thanks!

marcobritt
Member
Posted 3 days ago #

also i switched themes and it still doesn't work...so not theme related.

thx!

nazrulhassanmca
Member
Plugin Author

Posted 3 days ago #

This has happened due to wooocommmerce update they removed couple of things in new version and added couple of things so i am working on it for proper release

marcobritt
Member
Posted 2 days ago #

so therefore i can't use stripe?
what is the estimated time of release?

thanks!

nazrulhassanmca
Member
Plugin Author

Posted 2 days ago #

Many People have switched to https://wordpress.org/support/plugin/woocommerce-gateway-stripe at its from Automattic/Woothemes

Its same plugin that was sold for $79/year and now It has become licence free so you can switch to that plugin if you like

Thanks

originalpwah
Member
Posted 13 minutes ago #

That plugin doesn't work for me. Do you have an ETA on when your update will be out?

nazrulhassanmca
Member
Plugin Author

Posted 3 minutes ago #

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 257 تاريخ : يکشنبه 6 تير 1395 ساعت: 3:08