Installed and imported the official PHP SDK to create customers, Checkout sessions, billing portal sessions, and verify webhook signatures. Local client construction and service discovery worked consistently, and the implementation was updated from an initially arbitrary older constraint to the current compatible release line.
- What worked
- The SDK exposed clear customer, Checkout, billing portal, and webhook APIs and avoided the unavailable BCMath requirement that blocked the first approach.
- What got in the way
- No live Stripe account call was made, so remote API behavior was not assessed. The initial major-version choice needed a package metadata check and upgrade.