subscription plan in stripe cannot be created
This topic contains 14 replies, has 3 voices, and was last updated by Kiran 6 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: snippet
-
AuthorPosts
-
May 16, 2018 at 9:52 am #1501
Hi There
I am getting the following message when testing out the stripe payment system. I have a full licence for wpgeodirectory and addons
The subscription plan in Stripe could not be created, please try again.
I looked into this a bit further and found that it was included with my annual licence.
In the stripe manager licence area I added the url for however I noticed that the licence number there was different to the licence number that is actually greyed out on the plugin.
I tried to change the plugin one but there is no option to do that and I could not find a way of changing.
I am probably doing something wrong but there are no instructions on the plugin page and from the plugin if you select go to plugin page it goes to a 404.
Could you please advice
Many thanks.
Kind regards
May 16, 2018 at 12:10 pm #1504Hello,
Be sure that you have downloaded the correct Stripe gateway from here: https://wpinvoicing.com/your-account/
Once the plugin is activated, simply complete setup of WP Invoicing and add your keys to the Stripe gateway.
If you have trouble with the license keys found here, please try them one more time by adding the keys one at a time and saving: https://wpinvoicing.com/your-account/
If all the setup is complete and you still get an error, let us know.
May 19, 2018 at 8:44 pm #1515Hi Alex
I tried adding them one at a time and saving but it still did not work.
I have version 1.0.1 which appears to be the latest version.
Kind regards
May 19, 2018 at 8:54 pm #1516We would be happy to take a look at your settings to see if we can find the problem.
To allow us to examine the site, please create a private reply and include all the information listed below so we can make a complete diagnosis.
WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:May 19, 2018 at 9:13 pm #1517This reply has been marked as private.May 19, 2018 at 9:20 pm #1518I tried to validate the credentials but got: ERROR: The username or password you entered is incorrect
Are you still getting the error?
“The subscription plan in Stripe could not be created, please try again.”
Please provide complete credentials so we can diagnose the issue:
WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:FTP is optional, but can be very helpful
FTP Credentials
FTP Host:
FTP Port:
FTP User:
FTP Password:May 19, 2018 at 9:29 pm #1519This reply has been marked as private.May 21, 2018 at 4:19 am #1520Hi Eileen,
This issue happened due to changes in recent Stripe API from Stripe Team.
We have already upgraded our plugin with recent Stripe API changes. Please provide us FTP credentials to apply patch or wait for next release of Invoicing Stripe.
OR
do following to apply patch from your side.– Open file \plugins\wpinv-stripe-payment\includes\stripe-functions.php in text editor
– Search following line (around line 936)$plan_id = wpinv_stripe_create_plan( $args );
– Add following lines after that line
if ( empty( $plan_id ) ) { $args['product'] = array( 'id' => $id, 'name' => $args['name'] ); unset( $args['name'] ); $plan_id = wpinv_stripe_create_plan( $args ); }
Take backup before updating.
Let us know.
Thanks,
KiranMay 21, 2018 at 8:14 am #1521Hi Kiran
I tried that but unfortunately it breaks the site. Surely this would have affected other people as well and not just me. I have the latest plugin v 1.01 so when was it upgraded as the one in my account is dated Aug 2017 as being the last update.
Unless I am misunderstanding you.
The line is at 890
I have attached the relevent php file.
Kind regards
Eileen
May 21, 2018 at 8:15 am #1522ahh ok I cannot upload the .php file but I have downloaded a fresh copy of the file and it is the same as the one I have.
May 21, 2018 at 8:16 am #1523This reply has been marked as private.May 21, 2018 at 8:32 am #1524This reply has been marked as private.May 21, 2018 at 9:12 am #1526Attached file with applying a patch.
May 21, 2018 at 9:53 am #1528Hi Kiran
Thats great thank you, it works a treat. Is the patch going to be applied to the next plugin update?
Kind regards
Eileen
May 21, 2018 at 10:27 am #1529Yes, it will be in next update too.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket