• Hello Nicolas,

    Right now, the coupon can be used with predefined and promoted promotions and not as a regular coupon discount system. Is it in your plans to deploy this feature anytime soon or not at all ?
    Such as, people enter “DISCOUNT12” and get..well..12% discount (if written in Stripe dashboard).

    Also, I’d like to show the amount people are gonna pay even when i’m turning on “afficher le montant”, nothing happens. Where am I mistaking ?

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

    (@nahuelmahe)

    Hello @tcharno,

    Thank you for using Direct Stripe.

    The “Show amount” option doesn’t currently apply for subscription buttons.

    I had planned to publish an add-on to let users set the coupons but that project is on pause right now.

    I have an unfinished version that can be used if text is set to warn users how it works.
    You can download it at https://drive.google.com/file/d/1ESnZKWWBlOf7I03TiPu2gG9AamOIPU0y/view?usp=sharing

    To use this add-on, install the zip as a plugin and activate it. Then, set button_with_coupon as the button ID for the button you need a promotional text input field.
    It will add a text input field to enter the coupon ID to be set by the user, then directly process the transaction, if the coupon is correct, it will be applied. If it is empty or incorrect the transaction will proceed without applying any discount.
    That means if the user writes a wrong discount code, discount will not be applied and the transaction will proceed correctly…

    Let me know if you wish to test beta versions of this add-on when I’ll work on it again.

    Best wishes,

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello again @tcharno,

    Just in case you are interested, I uploaded a version that will throw an error if the coupon doesn’t exist. The user will have to proceed again.

    You can download it at https://drive.google.com/open?id=1eikuXpgLLWv-6WNiWQxQ25AcihutEWp2

    Let me know if you need anymore help with that.

    Best wishes,

    Thread Starter tcharno

    (@tcharno)

    Hello Nicolas, thank you for your kind answer.

    1. I uploaded your plugin add-on (the last Drive file) and updated the button ID but the additionnal field appears before the buttton, not in the modal. Is it correct ? Or is there a way to bypass this ? Is this because I’m using a subscription button and not a 1-time-payment ?

    2. Is there a hidden way to use your shortcode as a URL ? I’m asking that because i’m using a pricing table and all I can enter under the payment gateway is an URL. So of course I could go with sth like this

    <?php if ($pricing_title == ‘Basic’): ?>
    $output .= do_shortcode(‘[direct-stripe value=”…”]’ );
    <?php endif ?>

    <?php if ($pricing_title == ‘Premium’): ?>
    etc.

    I would be way faster if there was a way to replace a shortcode with a link. Not sure if that makes sense.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @tcharno,

    Thank you for your answer.

    1. The input field is meant to be next to the Direct Stripe button as Direct Stripe uses default Stripe Modal form and not a custom form.

    2.I’m afraid the shortcode can’t be replaced by an url.

    Let me know if you have any other concern with Direct Stripe.

    Best Wishes,

    Nico

    Thread Starter tcharno

    (@tcharno)

    Thank you for all your answers.
    If you ever plan to develop a in page form for it instead of just a modal, count me in to buy the plugin.
    Have a nice day ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘”Predefined promotions” vs ”Coupon System”’ is closed to new replies.