You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've recently updated my old project and seems like one issue appeared.
Now when I click "Pay" in card form, the form doesn't submit. Any ideas why? No errors in console, no ajax requests. Just nothing happens.
I'm using the following: "minimum-stability": "stable", "require": { "php": ">=7.4", "yiisoft/yii2": "~2.0.35", "yiisoft/yii2-bootstrap": "*", "yiisoft/yii2-swiftmailer": "*", "bower-asset/jquery": "@stable", "bower-asset/jquery-ui": "@stable", "bower-asset/jquery.inputmask": "@stable", "kartik-v/yii2-widgets": "*", "yiisoft/yii2-jui": "*", "ofat/yii2-yashop-ses": "*", "yiisoft/yii2-imagine": "*", "yii2tech/ar-linkmany": "^1.0@dev", "yurkinx/yii2-image": "dev-master", "frostealth/yii2-aws-s3": "@stable", "ruskid/yii2-stripe": "1.6", "stripe/stripe-php": "@stable" },
And insert form using this syntax: <?php $form = StripeForm::begin([ 'tokenInputName' => 'stripeToken', 'errorContainerId' => 'payment-errors', 'brandContainerId' => 'cc-brand', 'errorClass' => 'has-error', 'applyJqueryPaymentFormat' => true, 'applyJqueryPaymentValidation' => true, 'options' => [ 'class'=>'payment-form new-card-form', ], ]); ?>
The text was updated successfully, but these errors were encountered:
Hi, I've recently updated my old project and seems like one issue appeared.
Now when I click "Pay" in card form, the form doesn't submit. Any ideas why? No errors in console, no ajax requests. Just nothing happens.
I'm using the following:
"minimum-stability": "stable", "require": { "php": ">=7.4", "yiisoft/yii2": "~2.0.35", "yiisoft/yii2-bootstrap": "*", "yiisoft/yii2-swiftmailer": "*", "bower-asset/jquery": "@stable", "bower-asset/jquery-ui": "@stable", "bower-asset/jquery.inputmask": "@stable", "kartik-v/yii2-widgets": "*", "yiisoft/yii2-jui": "*", "ofat/yii2-yashop-ses": "*", "yiisoft/yii2-imagine": "*", "yii2tech/ar-linkmany": "^1.0@dev", "yurkinx/yii2-image": "dev-master", "frostealth/yii2-aws-s3": "@stable", "ruskid/yii2-stripe": "1.6", "stripe/stripe-php": "@stable" },
And insert form using this syntax:
<?php $form = StripeForm::begin([ 'tokenInputName' => 'stripeToken', 'errorContainerId' => 'payment-errors', 'brandContainerId' => 'cc-brand', 'errorClass' => 'has-error', 'applyJqueryPaymentFormat' => true, 'applyJqueryPaymentValidation' => true, 'options' => [ 'class'=>'payment-form new-card-form', ], ]); ?>
The text was updated successfully, but these errors were encountered: