#dmitrii-timofeenko_api

1 messages ยท Page 1 of 1 (latest)

sand sentinelBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1224693046713516145

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

torpid pilotBOT
maiden pine
stone flume
#

๐Ÿ‘‹ happy to help

maiden pine
#

hello

#

i'm using laravel cachier

stone flume
#

unfortunately we don't really provide help with 3rd party SKDs or extensions

maiden pine
#

It uses stripe sdk

#

and this parameters are native

stone flume
#

this is the native parameter

#

I don't know what parameter the laravel cashier is using

maiden pine
#

native

stone flume
maiden pine
#

thanks for pointing that

#

i was putting it in $customerOptions

#

if i put in session options im getting this error

#

Received unknown parameter: billing_cycle_anchor_config. Did you mean billing_address_collection?"

stone flume
#

it's within subscription_data

maiden pine
#

i don't know difference in this arrays

stone flume
#

as I said, I'm not familiar with laravel cashier and they have their proper SDK

maiden pine
#

in docs it says "session data"

stone flume
#

you need to contact their support

maiden pine
#

I think you can help me

stone flume
#

in the session data you have subscription_data.billing_cycle_anchor

maiden pine
#

what value should i put in billing_cycle_anchor to make payments on 6th of every month?

stone flume
#

the timestamp of the next 6th of the month

#

for example the next 6th of the month is April 6th

#

you get the timestamp of that date in seconds

#

and you pass it

maiden pine
#

it worked, thank you โค๏ธ

stone flume
#

you don't need to add a month though

maiden pine
#

it's for next month

stone flume
#

ok

maiden pine
#

i don't need to checkout user for 1-5 days

#

thank you a lot