It might be a worthwhile upgrade in general. Just have a check box in settings to create new customers in Stripe.
Here is your code for customers irrespective to customer logged in or as guest checkout
It creates customers and authorizes charge for customers later you can have it charge from stripe dashboard and this is how it looks when customers is created ie first email and then order no
http://awesomescreenshot.com/0f85o5tge3
and code can be found here http://pastebin.com/GZ7Xc2is
Will you give us an option in settings if we want enable customers?
Donations keeps us motivated forever as it takes lot of time to roll-out that really works along with support
I donated to your plugin to keep you motivated! LOL. Forgive me but I’m not sure what to do with the code you provided. Can you explain?
Copy entire code and go to your plugins folder an then navigate to stripe-woocommerce-addons/stripe-woocommerce-addon.php and open the file and replace entire code from pastebin to that file
Great thank you! I did that. Will this survive an update or do I need to do that at each update?
This won’t survive but in next update i will add settings checkbox once I receive enough help from plugin users
@swath Only thing i need to ask is for your case is the way it works if same customers comes to site again the code i provided will create new stripe customer each time since we are creating customer for each order irrespective of logged in or doing guest checkout
There is a strange problem I traced back to the code you provided. After I pasted it into the .php file as you suggested the media no longer loads for me to edit such as in the media page or the gallery page. When I disable the plugin it works fine. Then stops working again when I enable the plugin.
It also gives this error at the top of the plugin page when I enable the plugin:
“The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”
Were you using latest version of 1.0.6 of my plugin earlier ? or it was 1.0.5