After successfully testing the Stripe Checkout in localhost, I uploaded the pertinent files to my web hosting site, but am now encountering this error as soon as I enter it's 'home' page:
Line 204:
self::$appInfo = self::$appInfo ?: [];
Parse error: syntax error, unexpected '[' in /.../Stripe.php on line 204
The website is up to date regarding the SSL and my web hosting service is Web Hosting Hub. I have also not modified anything from the Stripe.php file that is included in the library.
Is it not as cut-and-dry to set up the live version of Stripe Checkout as I thought after doing some local testing?