#perivia101-gpay

1 messages · Page 1 of 1 (latest)

wicked rover
#

yes

queen shale
#

no, it was an either-or question.

#

which of those apps are installed on your phone?

wicked rover
#

pixel6

queen shale
#

I'm sorry but that's not an answer to the question I asked.

wicked rover
#

ok

#

I understand

#

sorry

queen shale
#

ok! So please share the full code you're using in your app.

wicked rover
#

googlePayLauncher = GooglePayLauncher(
fragment = this,
config = GooglePayLauncher.Config(
environment = GooglePayEnvironment.Test,
merchantCountryCode = "UAE",
merchantName = "Beno Store",
),
readyCallback = ::onGooglePayReady,
resultCallback = ::onGooglePayResult
)

    googlePayButton.setOnClickListener {
        Log.d("clientSecret", viewModelStripe.clientSecret)
       googlePayLauncher.presentForPaymentIntent(viewModelStripe.clientSecret)
    }
queen shale
#

ok! Maybe try merchantCountryCode = "US" for now(just to test) and see if it changes anything.

wicked rover
#

ok let me check

#

and sorry again

queen shale
#

you have nothing to be sorry for!