mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Google Pay: Update the formValidator name
This commit is contained in:
parent
5ad73cf5f0
commit
a301d901dd
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import CheckoutActionHandler from '../../../../ppcp-button/resources/js/modules/
|
|||
import FormValidator from '../../../../ppcp-button/resources/js/modules/Helper/FormValidator';
|
||||
|
||||
class CheckoutHandler extends BaseHandler {
|
||||
formValidator() {
|
||||
validateForm() {
|
||||
return new Promise( async ( resolve, reject ) => {
|
||||
try {
|
||||
const spinner = new Spinner();
|
||||
|
|
|
@ -292,7 +292,7 @@ class GooglepayButton {
|
|||
onButtonClick() {
|
||||
this.log( 'onButtonClick', this.context );
|
||||
|
||||
this.contextHandler.formValidator().then(
|
||||
this.contextHandler.validateForm().then(
|
||||
() => {
|
||||
window.ppcpFundingSource = 'googlepay';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue