Error when payment does not go through

Permalink Browser Info Environment
Hello Team,

The error message shown when payment does not go through disappears automatically after a few seconds and if the user does not have attention he will not be able to know what happened and why he is still on the payment page.

So We will like to suggest that if payment is failed or not processed user should be given a popup alert about the same and may be a button to retry or update the card option and the popup can be only closed by clicking on those 2 buttons.

Can you please help us with this issue.

Thank You! :)

Type: Ticket
Status: In Progress
ExRxNet
View Replies:
concrete5cojp replied on at Permalink Reply
concrete5cojp
Hi there,

Thanks for using our add-on.
We're sorry for the inconvenience you encountered.
Would you mind sending us a screen recording?

Thanks.
ExRxNet replied on at Permalink Reply 1 Attachment
ExRxNet
Hello,

Please find the attached video. You can see when I click on the button to make the payment the message appears for a couple of seconds and then disappears.

Do let us know if you need any further information.

Thank You! :)
concrete5cojp replied on at Permalink Reply
concrete5cojp
Thanks for the screen recording.
We'll look into it ASAP.

Thanks.
ExRxNet replied on at Permalink Reply
ExRxNet
Sure,

We will be waiting for update from your end
ExRxNet replied on at Permalink Reply
ExRxNet
Hello Team,

Just wanted to know if there is any update on this issue?

Thank You! :)
concrete5cojp replied on at Permalink Reply
concrete5cojp
Hi There,

Thanks for waiting.
We'll think about the feature you suggested.
But for now we can suggest you doing the followings-

1. Copy the `c5j_stripe.js` from `packages/c5j_stripe/js/c5j_stripe.js` to `application/js/c5j_stripe.js`
2. Remove the following lines from `application/js/c5j_stripe.js`
// Line 35 ~ 38
    setTimeout(function() {
        errorMsg.textContent = '';
    }, 8000);

or replace 8000 with your desired time.

Thanks.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 10.3.36-MariaDB
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
C5J Stripe Subscription (0.1.2), CloudFlare IP Proxy (1.0.0), Easy Image Gallery (1.4.2), Fruitful (1.2), HTML5 Audio Player Basic (2.0.5), Hutman Ads (1.1.4), Login Dialog (0.9.8), Responsive Embed (1.0.0), Spacer (0.9.3), Speed Analyzer (1.2.5), Thumbnail Generator (11.0.0), Touch Gallery 3 (3.2.8), Website Optimizer (1.0.4)

# concrete5 Overrides
blocks/image/templates/gif_passthrough.php, blocks/image/templates, blocks/image/view.php, blocks/image, blocks/videotoken/add.php, blocks/videotoken/controller.php, blocks/videotoken/db.xml, blocks/videotoken/divSizer.js, blocks/videotoken/edit.php, blocks/videotoken/expired.mp4, blocks/videotoken/modalViewer.js, blocks/videotoken/norange.mp4, blocks/videotoken/sqldenied.mp4, blocks/videotoken/videoTokenCss.css, blocks/videotoken/view.php, blocks/videotoken, blocks/autonav_old/add.php, blocks/autonav_old/nav_item.php, blocks/autonav_old/icon.png, blocks/autonav_old/controller.php, blocks/autonav_old/db.xml, blocks/autonav_old/auto.js, blocks/autonav_old/view.php, blocks/autonav_old/templates/responsive_header_navigation/view.php, blocks/autonav_old/templates/responsive_header_navigation/view.js, blocks/autonav_old/templates/responsive_header_navigation/view.css, blocks/autonav_old/templates/responsive_header_navigation, blocks/autonav_old/templates/breadcrumb.php, blocks/autonav_old/templates, blocks/autonav_old/edit.php, blocks/autonav_old/form_setup_html.php, blocks/autonav_old, blocks/autonav/add.php, blocks/autonav/nav_item.php, blocks/autonav/icon.png, blocks/autonav/controller.php, blocks/autonav/db.xml, blocks/autonav/auto.js, blocks/autonav/view.php, blocks/autonav/templates/responsive_header_navigation/view.php, blocks/autonav/templates/responsive_header_navigation/view.js, blocks/autonav/templates/responsive_header_navigation/view.css, blocks/autonav/templates/responsive_header_navigation, blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates, blocks/autonav/edit.php, blocks/autonav/form_setup_html.php, blocks/autonav, controllers/single_page/samplepage.php, controllers/single_page/register.php, controllers/single_page/subscription.php, controllers/single_page, elements/stripe/payment.php, elements/stripe, authentication/concrete/form.php, authentication/concrete, js/redactor.js, single_pages/admin_4cd6_fcb707193226.php, single_pages/samplepage.php, single_pages/page_forbidden.php, single_pages/subapi/check.php, single_pages/subapi/refresh.php, single_pages/subapi, single_pages/logout.php, src/Session/SessionValidator.php, src/Session

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.3.33

# PHP Extensions
cgi-fcgi, Core, ctype, curl, date, dom, fileinfo, filter, ftp, gd, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 2000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 1000
max_input_vars - 2000
memory_limit - 6096M
post_max_size - 1000M
upload_max_filesize - 2000M
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 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.