@@ -255,9 +255,9 @@ public function numberInput($options = []) {
255
255
'size ' => 20
256
256
]);
257
257
258
- StripeHelper::secCheck ($ mergedOptions );
259
- $ mergedOptions ['data-stripe ' ] = self ::NUMBER_ID ;
260
- return Html::input ('text ' , null , null , $ mergedOptions );
258
+ StripeHelper::secCheck ($ mergedOptions );
259
+ $ mergedOptions ['data-stripe ' ] = self ::NUMBER_ID ;
260
+ return Html::input ('text ' , null , null , $ mergedOptions );
261
261
}
262
262
263
263
/**
@@ -275,9 +275,9 @@ public function cvcInput($options = []) {
275
275
'type ' => 'tel ' ,
276
276
'size ' => 4
277
277
]);
278
- StripeHelper::secCheck ($ mergedOptions );
279
- $ mergedOptions ['data-stripe ' ] = self ::CVC_ID ;
280
- return Html::input ('text ' , null , null , $ mergedOptions );
278
+ StripeHelper::secCheck ($ mergedOptions );
279
+ $ mergedOptions ['data-stripe ' ] = self ::CVC_ID ;
280
+ return Html::input ('text ' , null , null , $ mergedOptions );
281
281
}
282
282
283
283
/**
@@ -296,9 +296,9 @@ public function yearInput($options = []) {
296
296
'maxlength ' => 4 ,
297
297
'size ' => 4
298
298
]);
299
- StripeHelper::secCheck ($ mergedOptions );
300
- $ mergedOptions ['data-stripe ' ] = self ::YEAR_ID ;
301
- return Html::input ('text ' , null , null , $ mergedOptions );
299
+ StripeHelper::secCheck ($ mergedOptions );
300
+ $ mergedOptions ['data-stripe ' ] = self ::YEAR_ID ;
301
+ return Html::input ('text ' , null , null , $ mergedOptions );
302
302
}
303
303
304
304
/**
@@ -318,9 +318,9 @@ public function monthInput($options = []) {
318
318
'size ' => 2
319
319
]);
320
320
321
- StripeHelper::secCheck ($ mergedOptions );
322
- $ mergedOptions ['data-stripe ' ] = self ::MONTH_ID ;
323
- return Html::input ('text ' , null , null , $ mergedOptions );
321
+ StripeHelper::secCheck ($ mergedOptions );
322
+ $ mergedOptions ['data-stripe ' ] = self ::MONTH_ID ;
323
+ return Html::input ('text ' , null , null , $ mergedOptions );
324
324
}
325
325
326
326
/**
@@ -338,14 +338,14 @@ public function monthAndYearInput($options = []) {
338
338
'type ' => 'tel ' ,
339
339
]);
340
340
341
- StripeHelper::secCheck ($ mergedOptions );
342
- $ mergedOptions ['data-stripe ' ] = self ::MONTH_YEAR_ID ;
343
- $ inputs = Html::input ('text ' , null , null , $ mergedOptions );
341
+ StripeHelper::secCheck ($ mergedOptions );
342
+ $ mergedOptions ['data-stripe ' ] = self ::MONTH_YEAR_ID ;
343
+ $ inputs = Html::input ('text ' , null , null , $ mergedOptions );
344
344
345
- //Append hidden year and month inputs that will get value from mixed and send to stripe
346
- $ inputs = $ inputs . $ this ->monthInput (['type ' => 'hidden ' ]);
347
- $ inputs = $ inputs . $ this ->yearInput (['type ' => 'hidden ' ]);
348
- return $ inputs ;
345
+ //Append hidden year and month inputs that will get value from mixed and send to stripe
346
+ $ inputs = $ inputs . $ this ->monthInput (['type ' => 'hidden ' ]);
347
+ $ inputs = $ inputs . $ this ->yearInput (['type ' => 'hidden ' ]);
348
+ return $ inputs ;
349
349
}
350
350
351
351
}
0 commit comments