• Resolved Artemushka

    (@artemushka)


    Nicolas, thank you so much for this plugin!
    It’s amazing and I truly appreciate your effort with it…

    Here is my story.

    I want to sell premium articles on my website.
    These are cooking guides that, say, consist of 8 steps.
    I would show 4 of them for free, but, if the visitor wants to see the other 4, they would need to make a donation (whatever they want it to be).

    Given this scenario, how can I use your amazing plugin?

    I though that I can have people donate and get redirected to individual pages (each button would have a custom redirect page with the full article, which would be set to no-index to search engines, so that no one can see them).
    I tried that, but success_url:”https://www.remarpro.com” didn’t work for me.

    Basically the two questions I have are:

    1. Is my thinking in regard of selling my content viable or there is a far shorter path with less ‘friction’?
    If there is something, please let me know…

    2. The redirection to an individual URL doesn’t work for me.
    Is that me or it’s a bug?
    (All I could get it to was “https://XYZ.com/”https://XYZ.com/”” and that obviously gave a 404 on my site).

    Thank you so much Nicolas!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @artemushka,

    First of all, thank you.

    I like your idea, and i think your premium content should be a little more protected.

    The way i see it, needs a custom function added to your theme to use direct stripe (and a parameter that i will add soon).

    – Your visitor read the first four articles and are invited to make a donation to read the next parts.

    – You set up a stripe button with donation type, button_id and redirections url for the precise series of articles.

    – The user is given a new user role that allows him to read the premium articles ( that are protected by user roles with another plugin or custom template page)

    To achieve that i would have to add the user ID created during the payment to the action ‘direct_stripe_before_success_redirection’.

    Then you could create and add a custom user role based on the button_id and user ID.

    Do you have any more infos you could send me to fix your “per button” redirection issue?

    All the feedback is appreciated!

    Thank you again

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hi again @artemushka,

    I tested again the success_url argument, and i got a similar result as yours when i made an error in the url like writing “http;//mydomain.ext”… (wrong semicolon).

    Also in your example you wrote the shortcode argument with “:” when it should be success_url=”https://mydomain.ext” as i’m not sure the error is just here…

    BUt if you downloaded last update of the plugin you don’t need to write the shortcode anymore, just enter the url in text input for “Success url” option.

    Best regards

    Thread Starter Artemushka

    (@artemushka)

    Thank you for your reply Nicolas and your thoughts!
    I would then look forward to the next version – thank you for your work and effort. ??

    As of now, let’s get this to function.

    Here is the shortcode I use:

    [direct-stripe type=”donation” name=”My plugin” description=”Help me improve the plugin” label=”Buy me coffee” success_url=”https://steakeat.com/” panellabel=”This will add one more setting option!”]

    And you can see the button here (I will leave the button there, so you can test it):

    https://steakeat.com/chuck-steak/how-to-cook-beef-chuck-steak-on-stove-top-in-skillet.html

    Thank you so so much for helping me with this…

    Merci beaucoup ??

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @artemushka,

    In the redirection error i see “https:/steakeat.com/” as the argument that should be redirected to. It is missing a “/” after the “:”

    Could you double check with https:// ?

    I will add the action parameter soon.

    Best regards

    Thread Starter Artemushka

    (@artemushka)

    Hey Nicolas,

    Please see the exact shortcode that I use above.
    Here it is one again:

    [direct-stripe type=”donation” name=”My plugin” description=”Help me improve the plugin” label=”Buy me coffee” success_url=”https://steakeat.com/” panellabel=”This will add one more setting option!”]

    As you can see it is definitely “//”.
    I also noticed that myself before writing here the last time.

    Thank you ??

    Artem

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello Artem,

    When i copy your shortcode, the redirection works for me, maybe try rewriting it with single quotes…

    I added a custom_role option for the shortcode in the Github repo.

    Do you know how to upload a plugin via FTP?

    If yes you can download The beta version of Direct Stripe at https://github.com/New0/direct-stripe/archive/master.zip and override direct-stripe folder in your wp-content/plugins directory.

    I suggest you use Direct Stripe in combination with the plugin “Members” by Justin Tadlock to really protect your premium content.

    Then, add a custom role to your Direct Stripe buttons (like the name of your recipe).

    And restrict the view of premium recipes by role (Members plugin added an option in posts edition pages)

    It needs more testing before i push it to www.remarpro.com library, it would be great if you could test it!

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Individual Redirection for Donations’ is closed to new replies.