
Originally Posted by
BigB
I have tried this.. unfortunately I'm still experiencing the same issue... there are no feilds showing to enter CC info during checkout. I have the site in "Test Mode" and my Stripe account is in Test Mode... the Stripe API test keys are entered in the module correctly.
I have the stripe_module_zc201 version installed on a Zen Cart 2.1.0 website.
Not sure what to do. Any other suggestions?
Stripe form is displayed after receiving client secret(clientS) from stripe server so far.
This is the problem.
Following code receive from stripe directly.
checkout.js Restoring line 39 OK
I'll upload revised module to github.com tomorrow as a version 219
checkout.js Restoring line 39 and
stripe.php line167
from
PHP Code:
require_once 'stripepay/create.php' ;
to
PHP Code:
if ($_SESSION['paymentIntent'] == '' ){
require_once 'stripepay/create.php' ;
}
tpl_checkout_confirmation_default line194
tpl_checkout_one_confirmation_default line235
PHP Code:
<script>
if (typeof clientS === null) {
PHP Code:
<?php
$jason_stripe_select = json_encode($stripe_select);
?>
<script>
var stripe_select = JSON.parse('<?php echo $jason_stripe_select; ?>');
if (stripe_select === "True") {
Bookmarks