• Resolved markfulton

    (@markfulton)


    Hello, I installed and setup products but when I restrict a page that is built with Elementor it doesn’t restrict the content to logged out users.

    Do you have a solution to restrict Elementor page content or am I missing something?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter markfulton

    (@markfulton)

    Also, if a user purchases using a stripe payment button do they get an account created on WordPress?

    Still unclear on how the user-flow works.

    Thread Starter markfulton

    (@markfulton)

    One more thing, my product on Stripe is set to have a free trial but it does not show up when you link to my product with your plugin.

    Plugin Author David Parker

    (@dlparker1005)

    Hi @markfulton, thank you for using Restrict With Stripe!

    We have just released Restrict With Stripe v1.0.8 which adds compatibility with Elementor. Can you please try updating the plugin on your website and let us know if the content restrictions are then working as expected?

    Regarding your question about how user creation works, Restrict With Stripe only creates users on your WordPress site when the user views restricted content and fills out their email address before being sent to the payment step. If a user pays in Stripe without being sent there by Restrict With Stripe, a user account will not be created for them.

    If you already have users who have completed Stripe payments without having user accounts created, Restrict With Stripe does give administrators the option to provide a user’s Stripe Customer ID when creating a user from the WP Dashboard in order to link their new WP User to their existing Stripe Customer.

    Finally, Restrict With Stripe does not support the legacy “Free Trial” option that is shown when creating a Price in Stripe. According to Stripe’s tooltip for that field, “setting a default trial period per price is no longer recommended and is incompatible with Checkout and quotes. Free trials can be set per subscription or quote instead”. As Restrict With Stripe processes payments with Stripe Checkout, this plugin will not support free trials there is native compatibility in Stripe between Stripe Checkout and free trials set for Stripe Prices.

    I hope this information helps to get you started! Please let me know if you have further questions about any of this.

    Thread Starter markfulton

    (@markfulton)

    Are you saying free trials are not possible at all using this Plugin? I need that option.

    I also would need the ability to create a payment button or link on my homepage.

    Plugin Author David Parker

    (@dlparker1005)

    Hi @markfulton,

    After speaking with the Stripe development team, it does not sound like the “Free Trial” option on prices will ever have native support with Stripe Checkout. As a result, Restrict With Stripe will not be able to support that option.

    As free trials are an important feature, we have just released Restrict With Stripe v1.0.9 which contains filters that developers can use to modify the behavior of this plugin. Using these new filters, I have put together a code recipe that you can use to add a 7-day trial when new customers purchase a subscription on your website:

    https://gist.github.com/dparker1005/a36c083630a9d55aa23ec12bdc63ab01

    An added benefit of this approach over Stripe’s legacy “Free Trial” option is that, as written, the code that I provided will only add free trials for new users, preventing a single users from claiming multiple free trials.

    Regarding your “payment button” question, this plugin does not have a built-in payment button. The “purchase” form will currently only show on pages that are restricted by this plugin.

    Our recommended approach here would be to create a new Page on your website with purchase confirmation text (ex. “Thank you for your purchase. etc”) and to restrict that page to one of your Stripe products. With that setup, when users on your site purchase your product from that page, they will see the confirmation text when they return to your website.

    Once that new page is created, you can add a “Buy Now” button to your home page in any way that you would like, and that button just needs to be set up to link to the restricted “confirmation” page that you created.

    The last thing that you would probably want to do with this flow is disable the “Show a content excerpt on restricted posts or pages” setting in the Restrict With Stripe Advanced settings so that users don’t see any confirmation text until they complete their purchase. With that setup, the user flow would be:

    1. View your home page
    2. Click the “Buy Now” button
    3. Be sent to the restricted “confirmation” page that you created
    4. Enter their email/password to create an account
    5. Pay in Stripe
    6. Return to the “confirmation” page, which will no longer be restricted

    I hope this helps to give you the tools that you need to build your website with Restrict With Stripe. Please let me know if you have any futher questions about this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does this work with Elementor?’ is closed to new replies.