#bwurtz999
1 messages · Page 1 of 1 (latest)
I've tried
$registration = $stripe->tax->registrations->create([
'country' => 'US',
'country_options' => [
'us' => [
'state' => $state->abbreviation,
'type' => 'state_sales_tax',
],
],
'active_from' => 'now',
], [
'stripe_account' => $connect->stripe_account_id,
"Stripe-Version" => "2022-11-15; tax_regs_beta=v2"
]);
which is how I normally designate that the call is for a connected account
but it's giving me Undefined property: Stripe\Service\Tax\TaxServiceFactory::$registrations
Quite possible that the PHP SDK hasn't been updated for the beta API you're trying to use
I had to be gated into the access. And all the API exmaples are in PHP
I just updated to the latest version 10.18 and still nothing
Am I adding the headers correctly?
We don't discuss beta/gated features on discord unfortunately. There's a section here about passing in beta heads which might be helpful
https://github.com/stripe/stripe-php#beta-sdks
I'd recommend raising a case via our support team as they're better equipped to help with this than our team on discord
https://support.stripe.com/?contact=true