Coupon ta-only trial amount problem

I’ve set a coupon CAROLINEG2025 for 30% off until the end of 2025 but whenever I set the coupon directive to ta-only it doesn’t work. And I’ve noticed its also the same on all the other coupons.

ra-only or no directive works fine, its just ta-only which presents a problem

I’ve tried adding the ta attribute to the shortcode but that doesn’t seem to do anything.

[s2Member-Pro-Stripe-Form rp="1" rr="1" accept_coupons="0"]
[s2Member-Pro-Stripe-Form register="1" level="0" ccaps="" desc="⚡ Free HyperMail Newsletter Subscriber" custom="www.sciencefictionbookclub.org" tp="0" tt="D" captcha="1" success="/thanks-for-signing-up-for-our-newsletter/" /]

[s2Member-Pro-Stripe-Form level="1" ccaps="" desc="🤖 Replicant (£3 per month)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="0" tp="0" tt="D" ra="3.00" rp="1" rt="M" rr="1" coupon="" accept_coupons="0" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" /]
[s2Member-Pro-Stripe-Form level="1" ccaps="" desc="🤖 Replicant (£30 per year)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="30.00" tp="0" tt="D" ra="30.00" rp="1" rt="Y" rr="1" coupon="" accept_coupons="1" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" /]

[s2Member-Pro-Stripe-Form level="2" ccaps="" desc="👄 Replicant, Basic Pleasure Model (£6 per month)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="0" tp="0" tt="D" ra="6.00" rp="1" rt="M" rr="1" coupon="" accept_coupons="0" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" /]
[s2Member-Pro-Stripe-Form level="2" ccaps="" desc="👄 Replicant, Basic Pleasure Model (£60 per year)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="60.00" tp="0" tt="D" ra="60.00" rp="1" rt="Y" rr="1" coupon="" accept_coupons="1" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" pform="pleasure" /]

[s2Member-Pro-Stripe-Form level="3" ccaps="" desc="🦾 Replicant, Enhanced Combat Model (£12 per month)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="0" tp="0" tt="D" ra="12.00" rp="1" rt="M" rr="1" coupon="" accept_coupons="0" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" /]
[s2Member-Pro-Stripe-Form level="3" ccaps="" desc="🦾 Replicant, Enhanced Combat Model (£100 per year)" cc="GBP" custom="www.sciencefictionbookclub.org" ta="100.00" tp="0" tt="D" ra="100.00" rp="1" rt="Y" rr="1" coupon="" accept_coupons="1" default_country_code="GB" captcha="0" success="/congratulations-and-megathanks-for-supporting-the-science-fiction-book-club/" pform="enhanced" /]

[/s2Member-Pro-Stripe-Form]

So I’ve setup three different coupon codes to test this problem.

CAROLINEG2025 with no directive
https://www.sciencefictionbookclub.org/join/?s2p-option=3&s2p-coupon=CAROLINEG2025

CAROLINEG2025TA with the ta-only directive
https://www.sciencefictionbookclub.org/join/?s2p-option=3&s2p-coupon=CAROLINEG2025TA

CAROLINEG2025RA with the ra-only directive
https://www.sciencefictionbookclub.org/join/?s2p-option=3&s2p-coupon=CAROLINEG2025RA

its ok, it looks like the shortcode attributes have top be set whether a coupon is being used with the form or not.

When I set these attributes everything seems to work ok.

ta=“30.00” set this to the undiscounted-amount the discount coupon’s discount will be applied to.

tp=“1” this enables a trial amount when a coupon is used but seems to do nothing when a coupon is absent.

tt=“Y” this is the period the trial term will be set to, in this case Y for year.

Hopefully this will be useful to someone so I’ll leave this up, even thought its my error.

1 Like

Thanks for sharing that :slight_smile: