mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Remove console logs
This commit is contained in:
parent
3e1cdc9288
commit
5d592c0173
3 changed files with 2 additions and 21 deletions
|
@ -549,7 +549,6 @@ class GooglepayButton extends PaymentButton {
|
|||
|
||||
/**
|
||||
* Show Google Pay payment sheet when Google Pay payment button is clicked
|
||||
* @param onClick
|
||||
*/
|
||||
async onButtonClick() {
|
||||
this.logGroup( 'onButtonClick' );
|
||||
|
@ -557,18 +556,9 @@ class GooglepayButton extends PaymentButton {
|
|||
const initiatePaymentRequest = async () => {
|
||||
window.ppcpFundingSource = 'googlepay';
|
||||
|
||||
let activePaymentMethod = wp.data
|
||||
.select( 'wc/store/payment' )
|
||||
.getActivePaymentMethod();
|
||||
console.log( activePaymentMethod, 'activePaymentMethod' );
|
||||
|
||||
// Set active payment method the paymentMethodId in registerExpressPaymentMethod.
|
||||
this.onClick();
|
||||
|
||||
activePaymentMethod = wp.data
|
||||
.select( 'wc/store/payment' )
|
||||
.getActivePaymentMethod();
|
||||
console.log( activePaymentMethod, 'activePaymentMethod' );
|
||||
|
||||
const paymentDataRequest = this.paymentDataRequest();
|
||||
|
||||
this.log(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue