1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] 3DS confirmation is not asked when an admin is subscribing a user through a payment schedule using PayZen

This commit is contained in:
Sylvain 2021-10-22 17:53:02 +02:00
parent c1a9a4a075
commit 9be0dcddd2
3 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@
- Fix a bug: invalid amount provided to the PayZen payment gateway when using a currency with anything else than 2 decimals
- Fix a bug: incorrect behavior for the setting "email confirmation required"
- Fix a bug: invalid text shown when a member confirms a free cart
- Fix a bug: 3DS confirmation is not asked when an admin is subscribing a user through a payment schedule using PayZen
- Updated @rails/webpacker to 5.4.3
- Updated react-refresh-webpack-plugin to 0.5.1
- Updated react-refresh to 0.10.0

View File

@ -126,6 +126,7 @@ export const PayzenForm: React.FC<PayzenFormProps> = ({ onSubmit, onSuccess, onE
*/
const handleSubmit = async (event: FormEvent): Promise<void> => {
event.preventDefault();
event.stopPropagation();
onSubmit();
try {

View File

@ -23,6 +23,7 @@ export const StripeForm: React.FC<GatewayFormProps> = ({ onSubmit, onSuccess, on
*/
const handleSubmit = async (event: FormEvent): Promise<void> => {
event.preventDefault();
event.stopPropagation();
onSubmit();
// Stripe.js has not loaded yet