EXPLANATION OF THE ISSUE
I've recently dropped my trial period to zero, so users should be immediately charged with no trial. However, s2Member is sending 365 days as the trial period to stripe.
here's the shortcode I'm using;
[s2Member-Pro-Stripe-Form level="1" ccaps="" desc="$24 CAD/month billed as $288/year" cc="CAD" custom="URL.com" ta="0" tp="0" tt="D" ra="288" rp="1" rt="Y" rr="1" coupon="" accept_coupons="0" default_country_code="CA" captcha="0" success="https://URL.com/congratulations-and-welcome/" /]
(real url is not "URL.com")
Stripe API version is the most recent, 2017-01-27
WordPress version is the most recent, 4.7.2
s2 version is the most recent, Version 161129 + s2Member Pro v161129
STEPS TO REPRODUCE THE ISSUE
I've tested removing the following options from the shortcode;
ta="0" tp="0" tt="D"
I've also changed the tt="D" to be tt="Y", while keeping the other two values as zero.
but in all cases, the plan that is created includes a 365 day trial. The customer is billed in stripe, but they show as in a trial.
BEHAVIOR THAT I EXPECTED
customer is billed, and not shown as a trial user.
BEHAVIOR THAT I OBSERVED
Strangely, in stripe, the customer is shows to have been billed, but no invoice is generated - or rather, an invoice of $0.00 is shown. I believe this is because stripe is receiving conflicting info: trial, but bill.
EXPLANATION OF THE ISSUE
I've recently dropped my trial period to zero, so users should be immediately charged with no trial. However, s2Member is sending 365 days as the trial period to stripe.
here's the shortcode I'm using;
[s2Member-Pro-Stripe-Form level="1" ccaps="" desc="$24 CAD/month billed as $288/year" cc="CAD" custom="URL.com" ta="0" tp="0" tt="D" ra="288" rp="1" rt="Y" rr="1" coupon="" accept_coupons="0" default_country_code="CA" captcha="0" success="https://URL.com/congratulations-and-welcome/" /]
(real url is not "URL.com")
Stripe API version is the most recent, 2017-01-27
WordPress version is the most recent, 4.7.2
s2 version is the most recent, Version 161129 + s2Member Pro v161129
STEPS TO REPRODUCE THE ISSUE
I've tested removing the following options from the shortcode;
ta="0" tp="0" tt="D"
I've also changed the tt="D" to be tt="Y", while keeping the other two values as zero.
but in all cases, the plan that is created includes a 365 day trial. The customer is billed in stripe, but they show as in a trial.
BEHAVIOR THAT I EXPECTED
customer is billed, and not shown as a trial user.
BEHAVIOR THAT I OBSERVED
Strangely, in stripe, the customer is shows to have been billed, but no invoice is generated - or rather, an invoice of $0.00 is shown. I believe this is because stripe is receiving conflicting info: trial, but bill.