levigutt
Forum Replies Created
-
I solved it myself.
The problem is that the
wp_capabilites
andwp_user_level
columns in the[prefix]_usermeta
table is using the table prefix aswell (probably for some security reasons).After changing the table prefix, one needs to also change the prefix of these two columns, as well as
wp_user_roles
in the[prefix]_options
table.There are also other columns using the prefix, but I gained access after changing only these three.
I am having the same problem.
It occured after changing the table-prefix.Have you fixed this? If so, please share how you did it.
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Role and WP All ImportI would love to have a way to give user roles access to import content, without giving them admin access.
Meaning they could only import to the post types that they have ‘edit’ capabilities for etc.
Currently I cannot use WP All Import for one of my projects, dispite having paid for the Pro version.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe Customers are not created@spraveenitpro have you found a solution to this problem yet?
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe Customers are not createdI solved this by adding the following code in a “must use plugin”:
// Hook in add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { $fields['billing']['wc-stripe-new-payment-method'] = array( 'type' => 'text', 'label' => '', 'label_class' => array('hidden'), 'required' => true, 'class' => array('hidden'), 'default' => '1', 'clear' => true ); return $fields; }
This adds a hidden field to the checkout page which will activate the “Save card for later” functionality.
Then I hid the checkbox intended for this use, with this code:
.form-row.woocommerce-SavedPaymentMethods-saveNew { display: none !important; }
—–
Before launching the service, I’ll add a warning to the page explaining that the card is forcefully saved to allow for future charges.
I hope this solves any potential legal matters and regulations. Does it?If so, then this is a valid solution and this matter can be marked resolved, correct?