#dragonlord_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1230583137793212470
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Can you give me the ID of the Tax Rate in quesiton?
txr_1P6y3VR1ZbNPqtfjcQ45E2lb
What PHP code are you using to fetch this from the API and determine it's current state?
$taxRates = \Stripe\TaxRate::all(['limit' => 1, 'active' => true], ['stripe_account' => $stripe_connect_id]);
echo $taxRates;
$taxRate = \Stripe\TaxRate::retrieve($taxRates->data[0]->id, ['stripe_account' => $stripe_connect_id]);
echo $taxRate;
I am using a both of these but neither od them are showing archived for the connected account
Can you share the output?
I figured out the problem the stripe_connect_id was not defined, so it would return it as active, even though it's not
once I added the value for the connect id it worked well
Okay, sounds good!
Thank you for your time
No problem, have a great day!