Georgian Cocora
Forum Replies Created
-
Hello @miniminimini,
The Payment Element can only be styled using the Stripe API. They offer instructions about this here: https://docs.stripe.com/elements/appearance-api
The plugin has a filter which can be used to add those options: pms_stripe_connect_elements_styling
In your case, you should switch Stripe to the Dark theme to make it fit your website. Here’s some example code that you can add to your website to achieve this:
add_filter( 'pms_stripe_connect_elements_styling', 'pmsc_custom_stripe_elements_styling' );
function pmsc_custom_stripe_elements_styling( $args ){
$args['theme'] = 'night';
$args['variables'] = [
'colorPrimary' => '#8561A9'
];
return $args;
}This code can be added to the
functions.php
file from your child theme or in a custom plugin. The example also changes the primary color of the form, so you could use this to match a color from your website.I hope this helps!
Regards.
Hello @hube2,
If you don’t enable cache for logged in users you shouldn’t have to worry about this. A user sees the restricted content -> he logs in -> he can see it immediately.
You can detect the general content restriction settings fairly easily. But for Elementor restrictions, I’m not quite sure if you can do this.
Regards.
Hello @fahadhnazir,
Yes, the subscription plans can be sold through WooCommerce as well.
Please read the relevant documentation here: https://www.cozmoslabs.com/docs/paid-member-subscriptions/integration-with-other-plugins/woocommerce/#Sell_a_subscription_plan_thorough_WooCommerce
Regards.
Hello @fapostol,
The Stripe payment gateway is configured right?
This can also be a cache issue, we usually recommend excluding the register page from cache. You should try to do a clear cache -> exclude and try again.
If that doesn’t help, try to disable the caching plugin briefly to verify if it works afterwards.
Let me know!
Regards.
Hello @pankake,
I can’t access the image that you wanted to link.
I looked for that email address but I can’t find your account linked anywhere and I also cannot find any attempts to link it with ours. I’ve searched for the email you provided but also with the co.uk extension which I guess is the right one.
Also, I believe our Connect integration method does not restrict your account in this manner, you end up with a standard Stripe Account after completing the process, which can be disconnected normally.
Please make sure you are not confusing us with the other popular membership plugin.
Regards.
Hello @onehourlifegood,
This should work fine, I think your problem relates to the priority.
Can you change it to 20 and then try again?
Regards.
Hello @kosmic69,
I apologize for the late reply, I was away for a bit.
At the moment you can’t configure purchasing settings through this add-on, but we would like to add this feature as well. Please open a ticket on our website for further information about the paid version, these forums are only for our free users.
All I was saying about the API question is that in WordPress you can use the same meta name for multiple values, but I don’t know why you can’t with this API. Maybe they just overlooked this or maybe they have their own reason.
Regards.
Hello @kosmic69,
You need to contact whatever you are using to insert those products and explain this problem to them. The way we store these settings is normal for WordPress, you can have multiple meta keys with different values.
Unless we completely rework this system, we can’t help you here and this is not really an option for us to do.
Regards.
Hello @dgebel,
What you explained should work correctly.
Can you try to create some separate products and apply restriction rules normally? Don’t use the duplicate function.
The plugin thinks that you can’t access the products that aren’t displayed, so that’s why those arrays differ. Make sure the subscription is active and expiration date is in the future.
If you want to dig further, you should look at the
pms_filter_content
function. This is where the plugin determines if something is restricted or not.Regards.
Hello @stefansecrieru,
You can choose which plans to display inside that shortcode using a parameter: https://www.cozmoslabs.com/docs/paid-member-subscriptions/shortcodes/#Choose_which_subscription_plans_to_show
Not sure if this is what you meant.
Regards.
Hello @yoyo13,
This interaction will be adjusted in the next version. An account still needs to be created but the user will be notified properly, instead of going back to the form thinking nothing happened.
Regards.
Hello @mar1ak10,
This is how it works, we don’t take into account the hierarchy for content restriction. This is only used to have a tier system through which one can upgrade and downgrade.
Regarding your content restriction issue, go to PMS -> Members -> click on the user you say it can’t see restricted content -> Edit Subscription and send us a screenshot. Then go to the post you want to restrict and show us how the Content Restriction settings look.
Regards.
Hello @fontainian,
Can you please share a link to your registration page? I want to see how the subscription plan is configured.
Regards.
Hello @stefansecrieru,
This can’t really be done through the available features because the restriction options from the plugin are based on the Subscription Plans that you are able to create. We only use the roles as an extension of our subscriptions so that they can be used by 3rd party plugins for other functionalities.
There is a filter that lets you customize the subscription plans output, so you could leverage this to make a form behave in this way. I can share an example with you if you find this interesting.
For a no code option, we do have another plugin that offers similar content restriction options but they are based on User Roles. You could make use of this plugin to achieve what you want.
This is called Profile Builder and the two plugins are also compatible in other ways. You can read more about that here: https://www.cozmoslabs.com/docs/paid-member-subscriptions/integration-with-other-plugins/profile-builder/
Anyway, you could achieve what you’re looking for by using the [wppb-restrict] shortcode in combination with the user role you want to make that content available for and then inside of the shortcode you place the pms register form shortcode with the subscription plans parameter specifying the plans you want this role to be able to purchase.
Regards.