302 redirect when subscribing to plan

Permalink Browser Info Environment
Hi,

I've installed the add-on, connected to Stripe and set up our plans (in test mode)
I've added the block to a page but when I click Subscribe I get a 302 redirect to the homepage.

Any idea why this is happening?
Thanks.

Type: Pre-Sale
Status: Resolved
simonchilton
View Replies:
simonchilton replied on at Permalink Reply
simonchilton
See below
simonchilton replied on at Permalink Reply
simonchilton
Looks like this happens when a Draft subscription is created.

You can fix it by going to Dashbord > Stripe > Subscriptions and Cancel or approve the Draft subscription.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Automatic Email Obfuscator (2.0.1), C5J Stripe Subscription (0.1.2), ExchangeCore reCAPTCHA (1.1.1), Grand Gallery (1.2.5), HTML+PHP Code Block (1.0.2), Pixel Theme (2.3.0)

# concrete5 Overrides
blocks/image_slider/templates/inline.php, blocks/image_slider/templates, blocks/image_slider, blocks/content/templates/event_post/view.php, blocks/content/templates/event_post/view.css, blocks/content/templates/event_post, blocks/content/templates, blocks/content, blocks/calendar_event/templates/thumbnail.php, blocks/calendar_event/templates, blocks/calendar_event, blocks/event_list/templates/thumbnail.php, blocks/event_list/templates, blocks/event_list, blocks/feature/templates/pixel_side_icon_cs.php, blocks/feature/templates, blocks/feature, controllers/single_page/members/directory.php, controllers/single_page/members, controllers/single_page, mail/user_registered_approval_complete.php, single_pages/register.php

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.0.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, interbase, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 128
max_input_nesting_level - 64
max_input_time - 600
max_input_vars - 2500
memory_limit - 2048M
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 256M
ibase.max_links - Unlimited
ibase.max_persistent - Unlimited
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 32531
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.