added support for stripe being offline