#bwurtz999

1 messages · Page 1 of 1 (latest)

urban pollenBOT
sharp hare
#

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

plush stratus
#

Quite possible that the PHP SDK hasn't been updated for the beta API you're trying to use

sharp hare
#

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?

plush stratus
sharp hare
#

just found the note about beta SDKs

#

thank you