diff --git a/Demo/src/main/java/com/braintreepayments/demo/GooglePayFragment.java b/Demo/src/main/java/com/braintreepayments/demo/GooglePayFragment.java index 47a69e583b..e409eb1cf6 100644 --- a/Demo/src/main/java/com/braintreepayments/demo/GooglePayFragment.java +++ b/Demo/src/main/java/com/braintreepayments/demo/GooglePayFragment.java @@ -41,7 +41,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, braintreeClient = getBraintreeClient(); googlePayClient = new GooglePayClient(braintreeClient); googlePayLauncher = new GooglePayLauncher(this, - googlePayResult -> googlePayClient.tokenize(googlePayResult, + paymentAuthResult -> googlePayClient.tokenize(paymentAuthResult, (paymentMethodNonce, error) -> { if (error != null) { handleError(error); @@ -118,7 +118,7 @@ public void launchGooglePay(View v) { .build()); googlePayClient.createPaymentAuthRequest(googlePayRequest, - (googlePayIntentData, error) -> googlePayLauncher.launch(googlePayIntentData)); + (paymentAuthRequest, error) -> googlePayLauncher.launch(paymentAuthRequest)); } private void handleGooglePayActivityResult(PaymentMethodNonce paymentMethodNonce) {