NEW UPDATE PLEASE:
2022-01: - Fixed an issue with the way tokens were created during the Connected Accounts onboarding process. This part has been entirely rewritten, the tokens are now created using the Stripe.js library rather than the PHP API. This is now a requirement for platforms based in France and only recommended (so far, at least) for other countries. This is a pretty major upgrade under the hood, so if you bought the script previously and want to integrate these changes, be sure to read the code in details.
- Added a mandatory “By continuing, you agree to our terms and the Stripe Connected Account Agreement.” line at the first step of account creation.
- Removed the Stripe API publishable keys from the external javascript files, so there’s no need to change it there too when implementing the code or switching from ‘test’ to ‘live’ mode.
- On the ‘Connected account’ and ‘Customer’ details pages in the listing part of the script, added the full array of data that can be retrieved from the API so you know everything you can get from the API.
- Removed most of the custom CSS classes previously created in favor of Bootstrap’s classes.
- The documentation of the Webhook file has been improved more with useful tips.
- Added a few more tips around the use of the API and Stripe Connect in general in the “Read me” file, including an example of how to update the information of a Connected account using tokens.
- Updated the PHP library for Stripe API to the latest version to date (7.107.0). The latest Stripe Connect API version being still ‘2020-08-27’.
- Minor corrections of the comments (corrected a few english mistakes, updated links to the right pages of the stripe connect api, additional clarity on a few things).