-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe Subscriptions importing as manual renewal #266
Comments
We are experiencing the same issue. Is the system not compatible with Stripes PaymentMethods API? |
Isn't this line of code the problem? This is in
There should be an else clause or rather something like this:
Since |
I'm also facing the same issue. Is there any fix for this? |
Same issue here I'm afraid |
I've managed to fix the issue for me. Although I don't use this plugin because it doesn't seem to support the Stripe plugin we currently use. I'll try to give some context and hope this helps somebody out there. - Stripe Plugins -- - Issues - Subscriptions being set to manual renewal Note that if you don't bring in the Subscription meta values: IMPORTANT: these meta values are different if you're using the "official" WC plugin, as per their own documentation. Just make sure the values are present within the subscription meta after you import. Check directly the database in the wp_postmeta and search for the subscription ID. The third column/meta to look after is the -- - Saved payment method data Note that these two tables don't need to be migrated in order for auto renewals to work because these are 2 separate issues. However, if you don't move them, it may give you problems in the future if a user tries to update their payment method, possibly creating a new customer in Stripe. I don't have much info on that though, so don't take my word for it. If you're having problems with auto-renewal please try a different export plugin. |
Site is running in live mode and connected to Stripe. I am using the woocommerce stripe gateway plugin for stripe. I have subscriptions set to allow automatic renewal.
I have created the csv file with the user data, order data and stripe data
I do not put the billing address or shipping address. The product is set to virtual, so shipping should not be required. I don't know if this is an issues or not since the docs don't say whether or not it is required.
payment_method is set to stripe
payment_method_title is set to Credit Card (Stripe)
payment_method_post_meta is set to stripe_customerid:cus...|stripe_source_id:pm...
I got the cus and pm records directly from Stripe and copied them over.
The import runs without any error messages. However when the user is imported he is set to manual renewal. The db option requires_manual_renewal is set to true. I can manually change it to false which will show the payment method in the subscription as stripe instead of manual renewal, but when I do this, the renewal payment failed.
I don't know if there is something wrong with the csv file, or an issue with plugins. I was hoping someone could help.
Thanks.
The text was updated successfully, but these errors were encountered: