• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Coupon Code Makes Weird First Payment With Free Trial

[Support request] Coupon Code Makes Weird First Payment With Free Trial

· ·

Home › Forums › Stripe Payments Plugin › Coupon Code Makes Weird First Payment With Free Trial

Tagged: coupon codes, free trial

  • This topic has 4 replies, 3 voices, and was last updated 6 years, 2 months ago by JaredLev.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 20, 2019 at 3:56 am #1920
    JaredLev
    Participant

    Hi Stripe,

    Thanks again for your support on my last request. I’ve gone ahead and left a 5-star review!

    I’m now having a slightly different problem.

    For my product subscription, I’d like to have a Free Trial. So far, so good.

    However, I’m also seeking to add coupon codes. The problem is:

    The receipt for the subscription when using a coupon code returns a negative number. This makes it seem like I owe the customer money!

    I’d like to have the coupon code be able to be applied to their first payment, after the free trial, and to be shown differently on the payment receipt so that it doesn’t show a negative number.

    Is there any way around this?

    Or, if there is another way to simply have the coupon code extend the length of the free trial, that would work too.

    Hope this makes sense. Thanks again.

    March 20, 2019 at 5:15 am #1921
    Admin
    Keymaster

    Thank you. The wording of the receipt probably needs to be re-worded to make it clear about the coupon application.

    We will need to think about this and see what options Stripe offers. Some things are not possible with the Stripe’s subscription API.

    March 20, 2019 at 9:39 am #1923
    alexanderfoxc
    Participant

    I think Jared is referring to our plugin’s receipt email and checkout page result info. I have just tested and indeed it shows negative value as it subtracts coupon discount amount from zero (the “price” of trial period) at the end:

    Product Name: Subs with trial
    Quantity: 1
    Item Price: $0.00
    Coupon "5BUCKSOFF": -$5.00
    Subtotal: $5.00
    Total Amount: $-5.00

    We will make it look like Stripe’s original receipt looks, e.g. just put zeroes for everything as a receipt for initial trial “payment”:

    Trial period for 10 daily for 5 days 1 $0.00 $0.00
    Subtotal $0.00
    5BUCKSOFF ($5.00 off) $0.00
    Amount paid $0.00
    March 20, 2019 at 10:22 am #1925
    alexanderfoxc
    Participant

    Ok, I have made the changes. Now it displays zero for all values for trial subscription just like it is done in Stripe’s receipt.

    Jared, you can test this by getting new testing version from here https://s-plugins.com/testing-version/ and by updating Subs addon to latest version (1.4.6) via WP Dashboard -> Updates. This time it will be there, I promise 😉

    March 20, 2019 at 6:37 pm #1926
    JaredLev
    Participant

    Nice, perfect!!!

    Receipt for trial period looks great.

    Now I haven’t tested this, but ideally I’d like the coupon code to come off the first payment, after, the free trial period.

    It might already do this, I’m not sure.

    I am going to set up a $10 Subscription Plan with a 1 day interval and a 1 day free trial and use a coupon code to discount 50% off first payment.

    So hopefully I’ll see:

    first receipt: $0 start free trial, nothing paid
    second receipt: $5 paid after free trial over ($5 coming from $10 interval payment being discounted 1x for 50% off coupon)
    Third receipt: $10

    Hope this makes sense. Again, stripe payments might already be doing this. Thanks for your help, I really appreciate it. Will definitely recommend this service

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.