John Croucher
Forum Replies Created
-
There are two other errors occurring.
PHP Unknown: [8] Trying to get property of non-object in /public_html/wp-content/plugins/ninja-forms/includes/Admin/CPT/Submission.php on line 294
PHP Unknown: [8] Trying to get property of non-object in /public_html/wp-content/plugins/ninja-forms/includes/Database/Models/Submission.php on line 33
It seems to be related to having strict error reporting enabled, causing these sorts of errors to stop the execution.
I am getting the same issue.
This seems to fix ithttps://www.bountysource.com/issues/46687260-ajax-undefined-index-tag-error-reporting-json-issue
Those two new options are required for cancelling of subscription payments.
FlexPay is the front end charging system for Verotel.
Control Center is the back end “admin” system where you can do extra things to payments such as cancel subscriptions.
You can get these details through the Verotel Control Center. It is not needed if you don’t use subscriptions.I will write up some more details on how it all works with some screenshots a bit later in case it helps.
Hmm. Very weird. I will do some more testing and get back to you.
If you could provide any further details of the process you were going through, that would be helpful.Can you put comments in your code outlining the areas that you have changed?
You can then email the files through to me [email protected] and I will check it out.WC_Payment_Gateway comes from WooCommerce. Can you confirm WooCommerce has been installed and is active before installing the verotel extension?
Also, can you let me know what version of WooCommerce and WordPress you are using?
Yep, that would be a good change.
@sobceo, did you want to give this version a test
https://github.com/speakdigital/Verotel-CardBilling-Payment-Gateway-for-WooCommerceI did a test install on WordPress (4.7.5) site with WooCommerce (3.0.7) which seemed fine.
If you are still getting an error, can you post the exact error message you are getting?
Forum: Plugins
In reply to: [Verotel / CardBilling Payment Gateway for WooCommerce] ModificationsHello,
The code has been imported.
Also out of interest, I have set up a fresh WordPress (4.7.5) site with WooCommerce (3.0.7).
I am not getting any fatal errors, so the issue with 3.x may already be fixed.John
Forum: Plugins
In reply to: [Verotel / CardBilling Payment Gateway for WooCommerce] ModificationsOf course, you did the bulk of the work already.
Feel free to use my github repo, I can add you as a collab if you want, or just take what I have done.
It would be good if it was put into a public repo though, so you don’t have to manually merge other people’s changes in.
Again, let me know if I can help.
I am happy to help if you need.
Re the post about WC version 3, I didn’t actually realise there was a major release as my system says it is up-to-date on 2.6.14. So none of my changes address that issue.
I may be able to help. Can you upload a screenshot somewhere so I can see the full error and where it is occurring?
I have forked the code to git and added new features if you wanted to merge your changes into it https://github.com/jcroucher/woocommerce-verotel
This may make it easier for the plugin author to backport both of our changes and continue development?
I am using Verotel, not CardBilling so I can’t test, but it could be because the plugin uses FlexPay API 3.1 whereas it is up to version 3.4
https://github.com/verotel/flexpay-php-client
Note the different brand classes https://github.com/verotel/flexpay-php-client/tree/master/src/Verotel/FlexPay/Brand
However in the current version of the plugin, in FlexPay.php it has this line
const FLEXPAY_URL = 'https://secure.billing.creditcard/startorder';
which matches what they are saying it should be updated to unless you wrote them around the wrong way?
Forum: Plugins
In reply to: [Verotel / CardBilling Payment Gateway for WooCommerce] ModificationsMy changes ended up being significant, rather than breaking everything I have forked the code and uploaded to git
https://github.com/jcroucher/woocommerce-verotel
This fork adds
Subscription payments
Verotel Control Center API
FlexPay 3.4 API