#VmC-php-checkout

1 messages · Page 1 of 1 (latest)

brisk lance
short haven
#

'subscription_data' => [
"trial_period_days" => 7
],

#

does this way work?

#

Do I have to pass an assoc array ?

brisk lance
#

Yes, that should work!

short haven
#

Perfect, thank you!

#

Small problem

#

It is in romanian but

#

The checkout is working fine, detects the trial period

#

It fails to display the days

#

Zile gratuite means "X days free"

#

But the X (number of days) is missing

#

even though in the right part, it says it expires on 13th of october which is today + 7 days free

brisk lance
#

Hmmm... let me check really quick on my end

#

Can you share your checkout session ID with me?

short haven
#

cs_live_a1JNR5oRH3CL5AmYggiWly4k3ZOgCoDhBqXczf2ygVBgppKyi0s1L1uEPA#fidkdWxOYHwnPyd1blppbHNgWjA0TkxhZnJGSVF2V39AQEBTQE5OSDZ8anN9UUkxREM0PUZBdDxDU1dnR0Y2fGRWX0pwT31ocldgQWFXX1JuSUJxMkdAQVZuVU5fS0FnUmM1UXRGYXN3N1xTNTV8MEhNTmpcPScpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl

#

here it adds 78 days

#

7* sorry :))

#

But on the main title the days that are free of charge are missing

brisk lance
#

Yeah this looks like a translation issue - I'd recommend writing into support (https://support.stripe.com/contact) and flagging it there so that they can let you know when it's fixed

short haven
#

I mean it's a number

#

The text is ok

#

:))

brisk lance
#

Yeah, but it's still something off about the translation (because it works when I try it with an english locale)

short haven
#

So that means the whole string is translated including the number ?

#

It doesn't come as an INT + STRING

brisk lance
#

I'm not deeply familiar with how these translations work ( I would've also assumed it did INT + STRING), but I think something about that code is broken and they'll need someone to take a look

short haven
#

Would you please be so kind

#

To give me a ScreenShot of the checkout page with trial days using the EN locale?

#

The support staff on the website requested this

brisk lance