Check and removing GooglePay TODOs

This commit is contained in:
Pedro Silva 2023-09-11 10:11:40 +01:00
parent b703f17bbf
commit 1a93df9f50
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
3 changed files with 4 additions and 9 deletions

View file

@ -162,7 +162,7 @@ class GooglepayButton {
const paymentDataRequest = await this.paymentDataRequest();
console.log('[GooglePayButton] onButtonClick: paymentDataRequest', paymentDataRequest, this.context);
window.ppcpFundingSource = 'googlepay'; // TODO : do this on another place like on create order
window.ppcpFundingSource = 'googlepay'; // Do this on another place like on create order endpoint handler.
this.paymentsClient.loadPaymentData(paymentDataRequest);
}