Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form doesn't submit #27

Open
alexweb-zz opened this issue Jun 27, 2020 · 0 comments
Open

Form doesn't submit #27

alexweb-zz opened this issue Jun 27, 2020 · 0 comments

Comments

@alexweb-zz
Copy link

alexweb-zz commented Jun 27, 2020

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', ], ]); ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant